summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2020-05-06 21:19:52 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2020-05-06 21:23:14 +0200
commit94202e63395ba591949c4c0218fd8cf6fc3a2b69 (patch)
treee7a47edb222badf300aed662eff9d3cc477b2c90
parent5815604853930bb70eeffa8d12b33f157d898db6 (diff)
downloadgtk+-94202e63395ba591949c4c0218fd8cf6fc3a2b69.tar.gz
CI: use bash style variable expansion for the mingw cache key
It doesn't understand the powershell syntax which leads to the cache key being empty which leads to cache restore being skipped which leads to slow builds not using ccache. See https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2747
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8a80b60435..b228e9c657 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -104,7 +104,7 @@ release-build:
- C:\msys64\usr\bin\pacman --noconfirm -Syyuu
- C:\msys64\usr\bin\bash -lc "bash -x ./.gitlab-ci/test-msys2.sh"
cache:
- key: "${env:CI_JOB_NAME}"
+ key: "$CI_JOB_NAME"
<<: *cache-paths
msys2-mingw32: