We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e58c90 commit ea07473Copy full SHA for ea07473
.github/workflows/preview.yml
@@ -31,13 +31,13 @@ jobs:
31
with:
32
script: |
33
const { owner, repo } = context.repo;
34
- const artifacts = await github.actions.listWorkflowRunArtifacts({
+ const artifacts = await github.actions.rest.listWorkflowRunArtifacts({
35
owner,
36
repo,
37
run_id: ${{ github.event.workflow_run.id }},
38
});
39
const { id: artifact_id } = artifacts.data.artifacts.find((artifact) => artifact.name == 'out');
40
- const download = await github.actions.downloadArtifact({
+ const download = await github.actions.rest.downloadArtifact({
41
42
43
artifact_id,
0 commit comments