mirror of
https://github.com/revanced/revanced-discord-bot.git
synced 2025-05-01 15:04: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
|
||||
components: clippy
|
||||
|
||||
- name: Cache
|
||||
uses: actions/cache@v3
|
||||
id: cache
|
||||
- name: Set up cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry/cache/
|
||||
target/
|
||||
key: ${{ steps.rust-toolchain.outputs.rustc_hash }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
cache-on-failure: "true"
|
||||
|
||||
- name: cargo build
|
||||
uses: actions-rs/cargo@v1
|
||||
|
Loading…
x
Reference in New Issue
Block a user