Update .gitlab-ci.yml

This commit is contained in:
James Seibel
2022-03-15 03:04:50 +00:00
parent ec32d09468
commit 5adfbb2dee
+8 -10
View File
@@ -6,7 +6,6 @@ stages:
- gradleSetup
- build_18-1
- build_18-2
- archive
variables:
# Let's see if setting this to true will improve speed any
@@ -51,6 +50,13 @@ build_18-1:
paths:
- .gradle
- cache/
artifacts:
# This should only be done for the last build, otherwise there will be duplicate jars
name: "Merged_NightlyBuild-${CI_COMMIT_SHORT_SHA}-${CI_COMMIT_TIMESTAMP}_18-1"
paths:
# relative to the root directory
- Merged
expire_in: 1 day
# 1.18.2 build
@@ -65,17 +71,9 @@ build_18-2:
paths:
- .gradle
- cache/
# should be done after the builds
# creates the archive zip containing all the built jars
archive:
stage: archive
script:
- echo 'Builds finished, creating archive.' # The compiler complains if we don't give it a "script" line
artifacts:
# This should only be done for the last build, otherwise there will be duplicate jars
name: "Merged_NightlyBuild-${CI_COMMIT_SHORT_SHA}-${CI_COMMIT_TIMESTAMP}"
name: "Merged_NightlyBuild-${CI_COMMIT_SHORT_SHA}-${CI_COMMIT_TIMESTAMP}_18-2"
paths:
# relative to the root directory
- Merged