Skip to content

Commit 696c21f

Browse files
committed
update workflow
1 parent b82bd6d commit 696c21f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121

2222
- name: Set current date as env variable
2323
id: date
24-
run: echo "NOW=$(date +'%Y_%m_%d-%H_%M_%S')" >> $env:$GITHUB_OUTPUT
24+
run: echo "timestamp=$(date +'%Y-%m-%d-%H-%M-%S')" >> $GITHUB_OUTPUT
2525

2626
- name: Cache CMake dependency source code
2727
uses: actions/cache@v4
2828
with:
2929
path: bin
30-
key: build-${{ steps.date.outputs.NOW }}
30+
key: build-${{ steps.date.outputs.timestamp }}
3131
restore-keys: |
3232
build-
3333

0 commit comments

Comments
 (0)