This commit is contained in:
Ivan Fonarev 2023-10-28 00:31:21 +03:00
parent 0e4f312e74
commit 02996575e9

View file

@ -24,7 +24,7 @@ build-package:
artifact_download: artifact_download:
stage: build stage: build
script: script:
- 'curl --location --header "PRIVATE-TOKEN: glpat-FxQCwwpab9YkmNHWPVXY" "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/jobs/artifacts/master/download?job=build-package&job_token=$CI_JOB_TOKEN"' - 'curl --location --output ~/builds/downloaded_artifacts/artifacts.zip --header "PRIVATE-TOKEN: glpat-FxQCwwpab9YkmNHWPVXY" "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/jobs/artifacts/master/download?job=build-package&job_token=$CI_JOB_TOKEN"'
- cd ~/builds/downloaded_artifacts - cd ~/builds/downloaded_artifacts
- unzip artifacts.zip - unzip artifacts.zip
- rm artifacts.zip - rm artifacts.zip