GitHub Actions download-artifact "Unable to find any artifacts"
download-artifact with no name tries to fetch all artifacts from the current run and finds none, because nothing was uploaded in this run or the artifacts live in a different run.
What this error means
The download step fails with "Unable to find any artifacts for the associated workflow" even though you expected uploads to be present.
github-actions
Error: Unable to find any artifacts for the associated workflowCommon causes
No artifacts uploaded in this run
The producing job did not upload (failed, skipped, or empty), so the run has no artifacts to fetch.
Downloading from the wrong run
The artifacts belong to a different run/workflow and cross-run parameters were not supplied.
How to fix it
Ensure artifacts exist and target the right run
- Confirm at least one upload-artifact step succeeded in this run.
- Order the consumer after the producer with needs:.
- For cross-workflow downloads, pass run-id, github-token, and repository.
.github/workflows/ci.yml
- uses: actions/download-artifact@v4
with:
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}How to prevent it
- Verify uploads occur before any download.
- Sequence producer and consumer jobs explicitly.
- Provide cross-run parameters when sourcing from another run.
Related guides
GitHub Actions "Failed to download artifact" / artifact not foundFix GitHub Actions "Failed to download artifact" - download-artifact could not find an artifact, usually a na…
GitHub Actions "No files were found with the provided path"Fix GitHub Actions upload-artifact "No files were found with the provided path" - the path glob matched nothi…
GitHub Actions "Conflict: an artifact with this name already exists" (v4)Fix GitHub Actions v4 "Conflict: an artifact with this name already exists on the workflow run" - v4 artifact…