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