Skip to content

Commit aef01a3

Browse files
committed
Update caching
1 parent e83dc78 commit aef01a3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/run.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ jobs:
2727
uses: actions/cache/restore@v4
2828
with:
2929
path: .dvc/cache
30-
key: ${{ runner.os }}-dvc-cache
30+
key: ${{ runner.os }}-dvc-cache-${{ github.sha }}
31+
restore-keys: |
32+
${{ runner.os }}-dvc-cache-
3133
- run: calkit config remote-auth
3234
env:
3335
CALKIT_DVC_TOKEN: ${{ secrets.CALKIT_DVC_TOKEN }}
@@ -41,4 +43,4 @@ jobs:
4143
uses: actions/cache/save@v4
4244
with:
4345
path: .dvc/cache
44-
key: ${{ steps.cache-dvc-restore.outputs.cache-primary-key }}
46+
key: ${{ runner.os }}-dvc-cache-${{ github.sha }}

0 commit comments

Comments
 (0)