summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorsudlud <sudlud@users.noreply.github.com>2025-03-02 22:05:20 +0100
committerGitHub <noreply@github.com>2025-03-02 22:05:20 +0100
commit2957143338bb4f39b244122e43aa45c523bc28b7 (patch)
tree832d5c86e4e94a9960caced41c15baab14dfcb0b /.github
parentbff7b0dd7c9b944cdb5d0640c3588816989db36f (diff)
fix(CI/linux-build): use correct OS name for cache key (#21640)
Diffstat (limited to '.github')
-rw-r--r--.github/actions/linux-build/action.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/actions/linux-build/action.yml b/.github/actions/linux-build/action.yml
index fc1bc2466b..4da8f39b9b 100644
--- a/.github/actions/linux-build/action.yml
+++ b/.github/actions/linux-build/action.yml
@@ -46,11 +46,11 @@ runs:
path: ${{ github.workspace }}/var/ccache
# format
# ccache:OS:CC_CXX:MODULES:GITHUB_REF:GITHUB_SHA
- key: ccache:ubuntu-latest:${{ inputs.CC }}_${{ inputs.CXX }}:${{ inputs.modules }}:${{ github.ref }}:${{ github.sha }}
+ key: ccache:${{ runner.os }}:${{ inputs.CC }}_${{ inputs.CXX }}:${{ inputs.modules }}:${{ github.ref }}:${{ github.sha }}
restore-keys: |
- ccache:ubuntu-latest:${{ inputs.CC }}_${{ inputs.CXX }}:${{ inputs.modules }}:${{ github.ref }}
- ccache:ubuntu-latest:${{ inputs.CC }}_${{ inputs.CXX }}:${{ inputs.modules }}
- ccache:ubuntu-latest:${{ inputs.CC }}_${{ inputs.CXX }}
+ ccache:${{ runner.os }}:${{ inputs.CC }}_${{ inputs.CXX }}:${{ inputs.modules }}:${{ github.ref }}
+ ccache:${{ runner.os }}:${{ inputs.CC }}_${{ inputs.CXX }}:${{ inputs.modules }}
+ ccache:${{ runner.os }}:${{ inputs.CC }}_${{ inputs.CXX }}
# This script moves sql files from "data/sql/updates/pending_$DB" to the
# proper folder for the db