diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2020-05-06 21:19:52 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2020-05-06 21:23:14 +0200 |
commit | 94202e63395ba591949c4c0218fd8cf6fc3a2b69 (patch) | |
tree | e7a47edb222badf300aed662eff9d3cc477b2c90 /.gitlab-ci.yml | |
parent | 5815604853930bb70eeffa8d12b33f157d898db6 (diff) | |
download | gtk+-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
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 2 |
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: |