cicd artifacts ai_generated true

Error: Unable to find any artifacts for the associated workflow

ID: cicd/gha-artifact-not-found

Also available as: JSON · Markdown
87%Fix Rate
89%Confidence
50Evidence
2023-01-01First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
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.

generic

Workarounds

  1. 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
  2. 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:

  1. 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

  2. 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: