From 72d770c0f363bc202b03c919656428213847c1ac Mon Sep 17 00:00:00 2001 From: tom lee Date: Sun, 20 Mar 2022 13:51:49 +0800 Subject: [PATCH] Maybe this will work? --- .gitlab-ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b7a32635e..fa7bca908 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,14 @@ build_18-1: - .gradle - cache/ + # TEMPORARY, there should be a way of either generating artifacts per build or in a separate stage + artifacts: + # This should only be done after the last build, otherwise there will be duplicate jars + name: "Merged_NightlyBuild_1_18_1-${CI_COMMIT_SHORT_SHA}-${CI_COMMIT_TIMESTAMP}" + paths: + # relative to the root directory + - Merged + expire_in: 1 day # 1.18.2 build build_18-2: @@ -50,7 +58,7 @@ build_18-2: # TEMPORARY, there should be a way of either generating artifacts per build or in a separate stage artifacts: # This should only be done after the last build, otherwise there will be duplicate jars - name: "Merged_NightlyBuild-${CI_COMMIT_SHORT_SHA}-${CI_COMMIT_TIMESTAMP}" + name: "Merged_NightlyBuild_1_18_2-${CI_COMMIT_SHORT_SHA}-${CI_COMMIT_TIMESTAMP}" paths: # relative to the root directory - Merged