You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our CI/CDs are all failing when attempting to download a single file artifact, with the following error:
Redirecting to blob download url: https://productionresultssa17.blob.core.windows.net/actions-results/dca413c8-be14-4b73-8b1f-9ea21c8bfd4f/workflow-job-run-d6064804-82d8-5d56-5302-5ab7f96c1206/artifacts/2d676fe19cda0e5804065c49908b2efddee7e9292fc98073010f7977f80272a3.zip
Starting download of artifact to: /home/runner/work/dappertutto-booking/dappertutto-booking/publish/openapi
(node:1726) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
##[debug]Failed to download artifact after 1 retries due to Not a valid zip file. Retrying in 5 seconds...
Artifact download completed successfully.
Artifact download completed successfully.
##[debug]Failed to download artifact after 2 retries due to Not a valid zip file. Retrying in 5 seconds...
##[debug]Failed to download artifact after 3 retries due to Not a valid zip file. Retrying in 5 seconds...
##[debug]Failed to download artifact after 4 retries due to Not a valid zip file. Retrying in 5 seconds...
##[debug]Failed to download artifact after 5 retries due to Not a valid zip file. Retrying in 5 seconds...
Error: Unable to download artifact(s): Unable to download and extract artifact: Artifact download failed after 5 retries.
We are using the action without an input to download all artifacts available
I solved this issue by disabling the generation of the build record from docker/build-push-action by setting DOCKER_BUILD_RECORD_UPLOAD=false in my job, but this doesn't explaing why the download action fails with that artifact
I solved this issue by disabling the generation of the build record from docker/build-push-action by setting DOCKER_BUILD_RECORD_UPLOAD=false in my job, but this doesn't explaing why the download action fails with that artifact
I believe the docker/build-push-action is uploading a gzip artifact by API, but this download-artifact action expects zip files, hence the error.
For now, the workaround is either to skip the upload, or use the name or patterninput to only download artifacts that were created by the upload-artifact action.
What happened?
Our CI/CDs are all failing when attempting to download a single file artifact, with the following error:
We are using the action without an input to download all artifacts available
What did you expect to happen?
Artifacts should download without error.
How can we reproduce it?
Our workflow is publicly available at https://github.com/EasyDesk/workflows/tree/3218c7008b83d4f35eacdb90f389d8d5b9d19f1f
And works with any dotnet project
Anything else we need to know?
No response
What version of the action are you using?
v4
What are your runner environments?
linux
Are you on GitHub Enterprise Server? If so, what version?
No response
The text was updated successfully, but these errors were encountered: