Update .gitlab-ci.yml file
This commit is contained in:
@@ -17,8 +17,10 @@ build-linux:
|
||||
- build/linux
|
||||
- build/linux-build.zip
|
||||
expire_in: 1 week
|
||||
only:
|
||||
- tags
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TAG'
|
||||
when: always
|
||||
- when: never
|
||||
|
||||
build-windows:
|
||||
stage: build
|
||||
@@ -38,8 +40,10 @@ build-windows:
|
||||
- build/windows
|
||||
- build/windows-build.zip
|
||||
expire_in: 1 week
|
||||
only:
|
||||
- tags
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TAG'
|
||||
when: always
|
||||
- when: never
|
||||
|
||||
release:
|
||||
stage: release
|
||||
@@ -56,5 +60,7 @@ release:
|
||||
url: "$CI_PROJECT_URL/-/jobs/$CI_JOB_ID/artifacts/file/build/linux-build.zip"
|
||||
- name: "Windows Build (.zip)"
|
||||
url: "$CI_PROJECT_URL/-/jobs/$CI_JOB_ID/artifacts/file/build/windows-build.zip"
|
||||
only:
|
||||
- tags
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TAG'
|
||||
when: always
|
||||
- when: never
|
||||
|
||||
Reference in New Issue
Block a user