Skip to content

Commit

Permalink
fix: fix cache for Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjoDiaz committed May 21, 2022
1 parent d05c5ae commit b4d1a60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Cache Node.js modules on Linux
uses: actions/cache@v2
if: ${{ runner.OS != 'windows-latest' }}
if: ${{ runner.OS != 'Windows' }}
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -28,7 +28,7 @@ jobs:
${{ runner.OS }}-
- name: Cache Node.js modules on Windows
uses: actions/cache@v2
if: ${{ runner.OS == 'windows-latest' }}
if: ${{ runner.OS == 'Windows' }}
with:
path: ~\AppData\Roaming\npm-cache
key: ${{ runner.os }}-node-${{ hashFiles('**\package-lock.json') }}
Expand Down

0 comments on commit b4d1a60

Please sign in to comment.