File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -9,19 +9,22 @@ inputs:
99runs :
1010 using : " composite"
1111 steps :
12+ - name : Grab timestamp
13+ run : echo "cache-timestamp=$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_ENV
14+
1215 - name : Cache build and vcpkg
1316 uses : actions/cache@v4
1417 with :
1518 path : |
1619 build
1720 external/vcpkg
18- key : ${{ inputs.os }}-${{ inputs.arch }}-build-2025-07-18-3-$(date +%s)
21+ key : ${{ inputs.os }}-${{ inputs.arch }}-build-2025-07-18-3-${{ env.cache-timestamp }}
1922 restore-keys : ${{ inputs.os }}-${{ inputs.arch }}-build-2025-07-18-3
2023
2124 - name : Cache bin
2225 uses : actions/cache@v4
2326 with :
2427 path : |
2528 bin
26- key : ${{ inputs.os }}-bin-2025-07-18-3-$(date +%s)
29+ key : ${{ inputs.os }}-bin-2025-07-18-3-${{ env.cache-timestamp }}
2730 restore-keys : ${{ inputs.os }}-bin-2025-07-18-3
You can’t perform that action at this time.
0 commit comments