cd.yaml: fix project dependency cache key
All checks were successful
Build && Deploy / cargo build (push) Successful in 3m48s
All checks were successful
Build && Deploy / cargo build (push) Successful in 3m48s
This commit is contained in:
parent
77474f9e43
commit
0d5bccddac
@ -11,13 +11,13 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Restore cached cargo dependencies
|
- name: Restore cached cargo dependencies
|
||||||
id: cache-toolchain
|
id: cache-project-dependencies
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.rustup
|
~/.rustup
|
||||||
~/.cargo
|
~/.cargo
|
||||||
key: ${{ runner.os }}-rust-toolchain
|
key: ${{ runner.os }}-project-dependencies
|
||||||
- run: cargo build --release --target x86_64-unknown-linux-gnu
|
- run: cargo build --release --target x86_64-unknown-linux-gnu
|
||||||
- name: Save cached cargo dependencies
|
- name: Save cached cargo dependencies
|
||||||
id: cache-toolchain
|
id: cache-toolchain
|
||||||
@ -25,7 +25,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.rustup/toolchains
|
~/.rustup/toolchains
|
||||||
key: ${{ steps.cache-toolchain.outputs.cache-primary-key }}
|
key: ${{ steps.cache-project-dependencies.outputs.cache-primary-key }}
|
||||||
|
|
||||||
- name: Upload Release Binary
|
- name: Upload Release Binary
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user