ci: cache dependencies.
This commit is contained in:
parent
6e29c71b68
commit
1a73c662a8
@ -37,12 +37,6 @@ jobs:
|
||||
toolchain: stable
|
||||
override: true
|
||||
|
||||
- id: tag
|
||||
uses: https://github.com/Maxyme/get-release-or-tag@v2
|
||||
|
||||
- name: Build
|
||||
run: cargo build --release
|
||||
|
||||
- name: Cache Dependencies
|
||||
uses: https://github.com/actions/cache@v3
|
||||
with:
|
||||
@ -52,7 +46,13 @@ jobs:
|
||||
~/.cargo/registry/cache/
|
||||
~/.cargo/git/db/
|
||||
target/
|
||||
key: ${{ steps.restore-dependencies.outputs.cache-primarily-key }}
|
||||
key: ${{ steps.restore-dependencies.outputs.cache-primary-key }}
|
||||
|
||||
- id: tag
|
||||
uses: https://github.com/Maxyme/get-release-or-tag@v2
|
||||
|
||||
- name: Build
|
||||
run: cargo build --release
|
||||
|
||||
- name: Cache Executable Binary
|
||||
uses: https://github.com/actions/cache@v3
|
||||
|
Loading…
Reference in New Issue
Block a user