File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
17
17
steps :
18
18
- uses : actions/checkout@v4
19
19
- name : Print event info
20
- uses : actions/github-script@v6.4.1
20
+ uses : actions/github-script@v7
21
21
with :
22
22
script : ' console.log(${{ toJson(github.event) }});'
23
23
- name : Download zipball
24
- uses : actions/github-script@v6.4.1
24
+ uses : actions/github-script@v7
25
25
with :
26
26
script : |
27
27
const { owner, repo } = context.repo;
32
32
return new Set([...ownKeys, ...protoKeys]);
33
33
};
34
34
console.log('github', [...getKeys(github)]);
35
- console.log('github.actions', [...getKeys(github.actions)]);
36
- const { total_count, artifacts } = await github.actions.listWorkflowRunArtifacts({
35
+ console.log('github.rest', [...getKeys(github.rest)]);
36
+ console.log('github.rest.actions', [...getKeys(github.rest.actions)]);
37
+ const { total_count, artifacts } = await github.rest.actions.listWorkflowRunArtifacts({
37
38
owner,
38
39
repo,
39
40
run_id: ${{ github.event.workflow_run.id }},
You can’t perform that action at this time.
0 commit comments