Download workflow artifacts from different workflows
masterThe dawidd6/action-download-artifact action allows you to download and extract artifacts uploaded by a different workflow run. This is useful when the official actions/download-artifact cannot access artifacts from previous or separate workflow executions. You can identify the target artifact using criteria such as commit, pr, branch, ref, or run_id.
Important Constraint: Do not specify pr, commit, branch, ref, run_id together, or workflow_conclusion and run_id together. You must pick only one identifier from each group to avoid conflicts.
- name: Download artifact
id: download-artifact
uses: dawidd6/action-download-artifact@<REF>
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: workflow_name.yml
name: artifact_name
path: extract_here