Fix the cache key being incorrectly set

This commit is contained in:
James Seibel
2022-03-22 03:20:19 +00:00
parent 8d799203c5
commit bcea1be19b
+2 -2
View File
@@ -25,7 +25,7 @@ build compile_18_1 1/2:
cache:
# The cached folders should only be used for this job.
# This prevents jobs from using the same folder(s) and overwriting each other
key: "$CI_JOB_ID_18-1"
key: "${CI_JOB_ID}_18-1"
policy: pull-push
paths:
- .gradle
@@ -44,7 +44,7 @@ build compile_18_2 2/2:
script: ./gradlew build -PmcVer=1.18.2 --gradle-user-home cache/; ./gradlew merge --gradle-user-home cache/
image: eclipse-temurin:17
cache:
key: "$CI_JOB_ID_18-2"
key: "${CI_JOB_ID}_18-2"
policy: pull-push
paths:
- .gradle