Update CI build to latest GitHub API

This commit is contained in:
Benedikt Ritter 2022-01-06 09:15:28 +01:00
parent 86cb9c318a
commit 6243107429

View file

@ -15,11 +15,11 @@ jobs:
working-directory: __tests__/samples/kotlin-dsl
run: ./gradlew help
- name: "Comment build scan url"
uses: actions/github-script@v3
uses: actions/github-script@v5
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.issues.createComment({
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,