Skip to content

Commit 94d6c2e

Browse files
committed
temp
1 parent d6d5978 commit 94d6c2e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/actions/cache/action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,22 @@ inputs:
99
runs:
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

0 commit comments

Comments
 (0)