mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-02-11 03:42:40 +00:00
ci cache fixes
This commit is contained in:
parent
ed94343da3
commit
751b1bfaae
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue