Skip to content

Commit

Permalink
[D] Fix: should use dub.selections.json for cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroki Noda committed Feb 11, 2022
1 parent 72d1e4f commit 5074380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,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-
```
Expand All @@ -97,7 +97,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-
```
Expand Down

0 comments on commit 5074380

Please sign in to comment.