1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-14 10:26:17 +01:00

[D] Fix: should use dub.selections.json for cache

This commit is contained in:
Hiroki Noda 2022-02-12 03:16:52 +09:00
parent 72d1e4fdff
commit 5074380beb

View file

@ -86,7 +86,7 @@ steps:
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
path: ~/.dub path: ~/.dub
key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.json') }} key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.selections.json') }}
restore-keys: | restore-keys: |
${{ runner.os }}-dub- ${{ runner.os }}-dub-
``` ```
@ -97,7 +97,7 @@ steps:
- uses: actions/cache@v2 - uses: actions/cache@v2
with: with:
path: ~\AppData\Local\dub path: ~\AppData\Local\dub
key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.json') }} key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.selections.json') }}
restore-keys: | restore-keys: |
${{ runner.os }}-dub- ${{ runner.os }}-dub-
``` ```