mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-12-28 13:35:54 +00:00
[D] Fix: should use dub.selections.json for cache
This commit is contained in:
parent
c69904dbf5
commit
448d805953
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ steps:
|
|||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.dub
|
||||
key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.json') }}
|
||||
key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.selections.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-dub-
|
||||
```
|
||||
|
@ -102,7 +102,7 @@ steps:
|
|||
- uses: actions/cache@v2
|
||||
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 a new issue