From ce2f95312222d719b183ad272d553d82598e08a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20F=C3=A4rber?= <01mf02@gmail.com> Date: Sat, 21 Dec 2024 13:59:12 +0100 Subject: [PATCH] Use cache for release. --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 071e3d44..61a9d20e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,6 +60,14 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: actions/cache@v4 + if: !contains(matrix.target, '-pc-windows-') + with: + path: | + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + key: cargo-${{ hashFiles('**/Cargo.lock') }} + - name: Install Rust toolchain uses: actions-rust-lang/setup-rust-toolchain@v1 with: