Commit 208aa68 1 parent 0a6a7e0 commit 208aa68 Copy full SHA for 208aa68
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,19 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
12
12
steps :
13
- - uses : actions/checkout@v3
13
+ - uses : actions/checkout@v4
14
14
15
15
- name : Update release for ${{ github.event.client_payload.ReleaseBranchName }}
16
- uses : actions/github-script@v2
16
+ uses : actions/github-script@v7
17
17
with :
18
18
github-token : ${{secrets.GITHUB_TOKEN}}
19
19
script : |
20
- const response = await github.repos.getReleaseByTag({
20
+ const response = await github.rest. repos.getReleaseByTag({
21
21
owner: context.repo.owner,
22
22
repo: context.repo.repo,
23
23
tag: "${{ github.event.client_payload.ReleaseBranchName }}"
24
24
});
25
- github.repos.updateRelease({
25
+ github.rest. repos.updateRelease({
26
26
owner: context.repo.owner,
27
27
repo: context.repo.repo,
28
28
release_id: response.data.id,
You can’t perform that action at this time.
0 commit comments