mirror of
https://github.com/revanced/revanced-discord-bot.git
synced 2025-05-01 23:14:25 +02:00
feat: use Swatinem/rust-cache
to cache builds
This commit is contained in:
parent
7acd911842
commit
cda1bcb03f
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -28,14 +28,10 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
components: clippy
|
components: clippy
|
||||||
|
|
||||||
- name: Cache
|
- name: Set up cache
|
||||||
uses: actions/cache@v3
|
uses: Swatinem/rust-cache@v2
|
||||||
id: cache
|
|
||||||
with:
|
with:
|
||||||
path: |
|
cache-on-failure: "true"
|
||||||
~/.cargo/registry/cache/
|
|
||||||
target/
|
|
||||||
key: ${{ steps.rust-toolchain.outputs.rustc_hash }}-${{ hashFiles('**/Cargo.lock') }}
|
|
||||||
|
|
||||||
- name: cargo build
|
- name: cargo build
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user