From 247e62f3e53a97f66e79a162f69c505b0f297b8d Mon Sep 17 00:00:00 2001 From: Ivan Fonarev Date: Fri, 27 Oct 2023 23:55:35 +0300 Subject: [PATCH] Download test --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2b198ec..9d49e26 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,4 +25,7 @@ build-package: artifact_download: stage: artifact-download script: - - 'curl --location --output artifacts.zip --header "JOB-TOKEN: $CI_JOB_TOKEN" "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/jobs/artifacts/main/download?job=build-package"' \ No newline at end of file + - 'curl --location --output ~/builds/downloaded_artifacts/artifacts.zip --header "JOB-TOKEN: $CI_JOB_TOKEN" "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/jobs/artifacts/main/download?job=build-package"' + - cd ~/builds/downloaded_artifacts + - unzip artifacts.zip + - rm artifacts.zip \ No newline at end of file