File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ jobs:
1818 token : ${{ secrets.PUSH_RELEASE_TRAINS_PAT }}
1919 fetch-depth : 0
2020 - name : Import public GPG keys to verify the tag
21- uses : actions/github-script@v3
21+ uses : actions/github-script@v7
2222 with :
2323 github-token : ${{secrets.GITHUB_TOKEN}}
2424 script : |
2525 const { execSync } = require('child_process')
2626
27- for (const { key_id, raw_key } of (await github.users.listGpgKeysForUser({
27+ for (const { key_id, raw_key } of (await github.rest. users.listGpgKeysForUser({
2828 username: 'dscho'
2929 })).data) {
3030 execSync(`gpg ${raw_key ? '--import' : `--recv-keys ${key_id}`}`,
@@ -66,14 +66,14 @@ jobs:
6666 git cat-file tag "$GITHUB_REF" | sed -e '1,/^$/d' -e '/-----BEGIN PGP SIGNATURE-----/,$d' >body
6767 - name : Create Release
6868 if : github.repository_owner == 'git-for-windows'
69- uses : actions/github-script@v3
69+ uses : actions/github-script@v7
7070 with :
7171 github-token : ${{secrets.GITHUB_TOKEN}}
7272 script : |
7373 const { readFileSync } = require('fs')
7474
7575 const tag_name = readFileSync('tag_name').toString()
76- await github.repos.createRelease({
76+ await github.rest. repos.createRelease({
7777 owner: context.repo.owner,
7878 repo: context.repo.repo,
7979 tag_name: tag_name,
You can’t perform that action at this time.
0 commit comments