GitHub Actions "Cannot find any run with the given ID" (download-artifact across workflows)
Downloading an artifact produced by a different workflow run requires the correct run-id and a token with access to it. A wrong, stale, or inaccessible run-id resolves to no run.
What this error means
A download-artifact step that targets another workflow's run fails with "Cannot find any run with the given ID", even though the producing run exists in the UI.
github-actions
Error: Cannot find any run with the given ID: 1234567890Common causes
Wrong or stale run-id
The run-id passed does not point at the run that produced the artifact, or the run's artifacts have expired.
Token cannot read the source run
The artifact lives in another repo or workflow the GITHUB_TOKEN cannot access, so the run is not found.
How to fix it
Supply a valid run-id and access token
- Resolve the real run-id of the producing workflow at download time.
- Pass a token with read access to that run / repository.
- Confirm the source artifacts have not expired by retention.
.github/workflows/ci.yml
- uses: actions/download-artifact@v4
with:
name: build
github-token: ${{ secrets.CROSS_REPO_TOKEN }}
run-id: ${{ steps.find.outputs.run_id }}
repository: ORG/other-repoHow to prevent it
- Resolve the producing run-id dynamically rather than hardcoding.
- Grant the download a token scoped to the source run.
- Account for artifact retention when downloading across runs.
Related guides
GitHub Actions Download an Artifact From a Different Workflow RunFix GitHub Actions downloading an artifact created by another run - actions/download-artifact needs run-id an…
GitHub Actions download-artifact "Unable to find any artifacts"Fix GitHub Actions download-artifact "Unable to find any artifacts for the associated workflow" when no artif…
GitHub Actions "Unable to download artifact" - download-artifact v4Fix actions/download-artifact@v4 "Unable to find an artifact" - wrong name, cross-run download without run-id…