cd.yaml: add paths to project dependencies cache
All checks were successful
Build && Deploy / cargo build (push) Successful in 4m20s
All checks were successful
Build && Deploy / cargo build (push) Successful in 4m20s
This commit is contained in:
parent
49ee87488a
commit
3c1ea8182a
@ -34,6 +34,10 @@ jobs:
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/bin/
|
||||
~/.cargo/registry/index/
|
||||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
target
|
||||
key: ${{ runner.os }}-project-dependencies
|
||||
- run: cargo build --release --target x86_64-unknown-linux-gnu
|
||||
@ -42,6 +46,10 @@ jobs:
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/bin/
|
||||
~/.cargo/registry/index/
|
||||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
target
|
||||
key: ${{ steps.cache-project-dependencies.outputs.cache-primary-key }}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user