Skip to content

Commit 646fd34

Browse files
authored
Meta: Debug publish-pr.yml
1 parent 3454b8e commit 646fd34

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/publish-pr.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919
- name: Print event info
20-
uses: actions/github-script@v6.4.1
20+
uses: actions/github-script@v7
2121
with:
2222
script: 'console.log(${{ toJson(github.event) }});'
2323
- name: Download zipball
24-
uses: actions/github-script@v6.4.1
24+
uses: actions/github-script@v7
2525
with:
2626
script: |
2727
const { owner, repo } = context.repo;
@@ -32,8 +32,9 @@ jobs:
3232
return new Set([...ownKeys, ...protoKeys]);
3333
};
3434
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({
3738
owner,
3839
repo,
3940
run_id: ${{ github.event.workflow_run.id }},

0 commit comments

Comments
 (0)