File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,9 @@ jobs:
115
115
- name : Prepare sccache timestamp
116
116
id : cache_key
117
117
run : |
118
- echo "SCCACHE_KEY=${{ matrix.target }}-${{ env.TOOLCHAIN_CHANNEL }}-sccache-v14-$(date +'%Y-%m-%d-%I-%M-%S')" >> $GITHUB_OUTPUT
118
+ export SCCACHE_KEY_PREFIX="${{ matrix.target }}-${{ env.TOOLCHAIN_CHANNEL }}-sccache-v14-"
119
+ echo "SCCACHE_KEY_PREFIX=$SCCACHE_KEY_PREFIX" >> $GITHUB_OUTPUT
120
+ echo "SCCACHE_KEY=$SCCACHE_KEY_PREFIX$(date +'%Y-%m-%d-%I-%M-%S')" >> $GITHUB_OUTPUT
119
121
120
122
- name : Check Xcode version
121
123
if : ${{ startsWith(matrix.build_os, 'macos-') }}
@@ -128,7 +130,7 @@ jobs:
128
130
path : build-cache
129
131
key : ${{ steps.cache_key.outputs.SCCACHE_KEY }}
130
132
restore-keys : |
131
- ${{ matrix.target }}-sccache-v13-
133
+ ${{ steps.cache_key.outputs.SCCACHE_KEY_PREFIX }}
132
134
133
135
- name : Clean build directory
134
136
if : ${{ matrix.clean_build_dir }}
You can’t perform that action at this time.
0 commit comments