Try fixing caching; update to cache@v2

This commit is contained in:
Noah committed 2020-07-14 19:56:15 -05:00
1 parent 6b361bb409
commit 1ec179b118
1 file changed
+3 -3
+3 -3
View File
@@ -23,7 +23,7 @@ jobs:
powershell.exe scripts/symlinks-to-hardlinks.ps1
if: runner.os == 'Windows'
- name: Cache cargo dependencies
uses: actions/cache@v1
uses: actions/cache@v2
with:
key: ${{ runner.os }}-rust_tests-${{ hashFiles('Cargo.lock') }}
path: target
@@ -49,7 +49,7 @@ jobs:
powershell.exe scripts/symlinks-to-hardlinks.ps1
if: runner.os == 'Windows'
- name: Cache cargo dependencies
uses: actions/cache@v1
uses: actions/cache@v2
with:
key: ${{ runner.os }}-snippets-${{ hashFiles('Cargo.lock') }}
path: target
@@ -120,7 +120,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Cache cargo dependencies
uses: actions/cache@v1
uses: actions/cache@v2
with:
key: ${{ runner.os }}-wasm-${{ hashFiles('**/Cargo.lock') }}
path: target