What happened?
Action versions: upload-artifact@v7, download-artifact@v8 (also reproduced with upload-artifact@v4, download-artifact@v4)
Description:
When an artifact is uploaded from an ubuntu-latest runner, the subsequent download-artifact step fails with:
(node:2171) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues.
Error: Unable to download artifact(s): Unable to download and extract artifact: Artifact download failed after 5 retries.
The same workflow succeeds when the upload step runs on windows-latest.
Workaround: Use windows-latest for the upload job.
Environment:
- GitHub.com (not GHES)
- Private repository
- Tested with action versions v4/v4 and v7/v8 — same result
What did you expect to happen?
Artifacts uploaded from ubuntu-latest should be downloadable by download-artifact in subsequent jobs, the same as artifacts uploaded from windows-latest.
How can we reproduce it?
- Upload an artifact using upload-artifact@v7 on ubuntu-latest
- Download it in a subsequent job using download-artifact@v8
- Download fails after 5 retries
Anything else we need to know?
- The upload step completes successfully in both cases (artifact finalized, ID assigned, correct size reported)
- The download step gets the redirect to Azure Blob Storage but the actual download fails repeatedly
- Re-running the deploy job from an older working run (uploaded from windows-latest) succeeds — confirming the download infrastructure works
- Both zips are valid and extractable when downloaded manually via the API (gh api .../artifacts//zip)
- Both zips have identical structure: 42 entries, Zip v4.5, deflate compression
- The only differences are file permissions (rw-rw-rw- vs rwxr--r--), file ordering within the zip, and ~40KB size difference from platform-specific publish output
- The Buffer() deprecation warning appears on both OS runners and is not the cause
What version of the action are you using?
v7
What are your runner environments?
linux
Are you on GitHub Enterprise Server? If so, what version?
No response
What happened?
Action versions: upload-artifact@v7, download-artifact@v8 (also reproduced with upload-artifact@v4, download-artifact@v4)
Description:
When an artifact is uploaded from an ubuntu-latest runner, the subsequent download-artifact step fails with:
(node:2171) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues.
Error: Unable to download artifact(s): Unable to download and extract artifact: Artifact download failed after 5 retries.
The same workflow succeeds when the upload step runs on windows-latest.
Workaround: Use windows-latest for the upload job.
Environment:
What did you expect to happen?
Artifacts uploaded from ubuntu-latest should be downloadable by download-artifact in subsequent jobs, the same as artifacts uploaded from windows-latest.
How can we reproduce it?
Anything else we need to know?
What version of the action are you using?
v7
What are your runner environments?
linux
Are you on GitHub Enterprise Server? If so, what version?
No response