cicd
artifacts
ai_generated
true
Error: Unable to find any artifacts for the associated workflow
ID: cicd/gha-artifact-not-found
87%Fix Rate
89%Confidence
50Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| any | active | — | — | — |
Root Cause
A GitHub Actions job attempts to download an artifact that was not uploaded by a previous job or workflow run. Common causes include artifact name mismatches, expired artifacts, or upload failures in prior jobs.
genericWorkarounds
-
91% success Ensure artifact names match exactly between upload-artifact and download-artifact steps
Verify the 'name' parameter in actions/upload-artifact matches the 'name' parameter in actions/download-artifact exactly, including case sensitivity
-
89% success Add needs: dependency to ensure upload job completes before download job starts
Add 'needs: [build-job]' to the job that downloads artifacts, ensuring the upload job runs first. Also verify the upload step is not skipped by conditionals
Dead Ends
Common approaches that don't work:
-
Increase artifact retention days expecting it to fix missing artifacts
85% fail
Retention only applies to existing artifacts; if the artifact was never uploaded, extending retention has no effect
-
Re-run only the download job without re-running the upload job
90% fail
The artifact must exist before it can be downloaded; re-running only the consumer job does not recreate the artifact
Error Chain
Leads to:
Preceded by:
Frequently confused with: