Skip to content

Commit fc58f94

Browse files
committed
Add github token to download artifacts from different workflow.
From https://docs.github.com/en/actions/tutorials/store-and-share-data#downloading-artifacts-during-a-workflow-run If you want to download artifacts from a different workflow or workflow run, you need to supply a token and run identifier. See Download Artifacts from other Workflow Runs or Repositories in the documentation for the download-artifact action.
1 parent 264598f commit fc58f94

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/compare-ds.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
if: ${{ steps.ctf.outputs.CTF_OUTPUT_SIZE != '0' }}
7575
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
7676
with:
77+
github-token: ${{ secrets.GITHUB_TOKEN }}
7778
name: pr-artifacts-${{ github.event.workflow_run.head_sha }}
7879
path: pr_artifacts
7980
run-id: ${{ github.event.workflow_run.id }}

0 commit comments

Comments
 (0)