From 873cd116a12c4c4dcd54a2d425caa3c34e28cd6f Mon Sep 17 00:00:00 2001 From: Ivan Fonarev Date: Fri, 27 Oct 2023 23:52:05 +0300 Subject: [PATCH] Download test --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e6d13c6..2b198ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ before_script: # Defines stages which are to be executed stages: - build - + - artifact-download # Stage "build" build-package: stage: build @@ -23,6 +23,6 @@ build-package: paths: - ./builds/artifact artifact_download: - stage: test + 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"' \ No newline at end of file + - '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