Download test
This commit is contained in:
parent
563b86a3a1
commit
9598d4dbfe
1 changed files with 6 additions and 6 deletions
|
@ -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:
|
||||
- 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"'
|
Loading…
Add table
Reference in a new issue