ci cache fixes

This commit is contained in:
Alula 2020-09-23 15:14:39 +02:00
parent ed94343da3
commit 751b1bfaae
No known key found for this signature in database
GPG Key ID: 3E00485503A1D8BA
1 changed files with 10 additions and 10 deletions

View File

@ -14,7 +14,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-stable-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-stable-cargo-registry
restore-keys: |
${{ runner.os }}-stable-cargo-registry-
@ -22,17 +22,17 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.cargo/git
key: ${{ runner.os }}-stable-cargo-index-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-stable-cargo-index
restore-keys: |
${{ runner.os }}-stable-cargo-index-
- name: Cache Cargo build
uses: actions/cache@v2
with:
path: target/release
key: ${{ runner.os }}-stable-debug-target-${{ hashFiles('**/Cargo.lock') }}
path: target
key: ${{ runner.os }}-stable-target
restore-keys: |
${{ runner.os }}-stable-debug-target-
${{ runner.os }}-stable-target
- name: Checkout sources
uses: actions/checkout@v2
@ -85,7 +85,7 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-stable-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-stable-cargo-registry
restore-keys: |
${{ runner.os }}-stable-cargo-registry-
@ -93,17 +93,17 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.cargo/git
key: ${{ runner.os }}-stable-cargo-index-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-stable-cargo-index
restore-keys: |
${{ runner.os }}-stable-cargo-index-
- name: Cache Cargo build
uses: actions/cache@v2
with:
path: target/release
key: ${{ runner.os }}-stable-debug-target-${{ hashFiles('**/Cargo.lock') }}
path: target
key: ${{ runner.os }}-stable-target
restore-keys: |
${{ runner.os }}-stable-debug-target-
${{ runner.os }}-stable-target
- name: Checkout sources
uses: actions/checkout@v2