fix cache keys

This commit is contained in:
Nick Seguin 2023-12-10 01:59:44 -06:00
parent 77f37f607f
commit 82b6baa47a

View file

@ -23,7 +23,7 @@ jobs:
name: restore pnpm cache
with:
path: ${{ steps.pnpm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: pnpm install
@ -33,7 +33,7 @@ jobs:
if: steps.pnpm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.pnpm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.json') }}
- uses: actions/cache@v3
id: nuget-cache
@ -48,7 +48,7 @@ jobs:
- name: dotnet restore
run: dotnet restore
- name: save nuget cache
uses: actions/cache@v3
uses: actions/cache/save@v3
if: steps.nuget-cache.outputs.cache-hit != 'true'
with:
path: ~/.nuget/packages