From 9598d4dbfe1cd8af94fbf90df00fdac0c387d2d6 Mon Sep 17 00:00:00 2001 From: Ivan Fonarev Date: Fri, 27 Oct 2023 23:49:02 +0300 Subject: [PATCH] Download test --- .gitlab-ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 920509e..463d7c5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ stages: - build # Stage "build" -run-build: +build-package: stage: build script: - pwd @@ -17,12 +17,12 @@ run-build: - sudo apt install -y build-essential devscripts dh-make - dpkg-buildpackage -us -uc - mv ../*.{deb,tar.xz,dsc,changes} ./builds/artifact - - # This stage is only executed for new tags - only: + only: - tags - - # The files which are to be made available in GitLab artifacts: paths: - ./builds/artifact +artifact_download: + stage: test + 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