Is it possible to download an artifact from the current build as a tar.gz instead of zip? #1290
Unanswered
abravalheri
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Imagine I have 5 tasks, the first one builds a cross-platform project using a linux container and use the artifact capabilities in CirrusCI to save the build so that the subsequent tasks can download. The following tasks (using linux, macos, freebsd and windows) download the artifact, install it and run the tests.
The docs say that it is possible to download the artifact from https://api.cirrus-ci.com/v1/artifact/build/<CIRRUS_BUILD_ID>//<ARTIFACTS_NAME>.zip. The trouble is that
unzip
is not usually available in all platforms, whiletar
is.It would be simpler if I can download/unpack the archive using
curl
andtar
, because they are already available in the platformBeta Was this translation helpful? Give feedback.
All reactions