mirror of
https://github.com/actions/cache.git
synced 2024-11-15 16:43:51 +08:00
Merge pull request #738 from kubo39/fix-dub
[D] Fix: should use dub.selections.json for cache
This commit is contained in:
commit
9c784e290b
@ -90,7 +90,7 @@ steps:
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.dub
|
||||
key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.json') }}
|
||||
key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.selections.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-dub-
|
||||
```
|
||||
@ -101,7 +101,7 @@ steps:
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: ~\AppData\Local\dub
|
||||
key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.json') }}
|
||||
key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.selections.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-dub-
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user