From 10a163aad228566a35ce1167e923b2106edadf6f Mon Sep 17 00:00:00 2001 From: Xevion Date: Thu, 3 Oct 2024 19:08:37 -0500 Subject: [PATCH] Renew cache, switch to primitive version alike librespot test --- .github/workflows/build.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index dcb6f6b..3f41df9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -66,7 +66,18 @@ jobs: with: toolchain: stable targets: ${{ matrix.target }} - - uses: Swatinem/rust-cache@v2 + + - name: Cache Rust dependencies + uses: actions/cache@v4.0.2 + with: + path: | + ~/.cargo/registry/index + ~/.cargo/registry/cache + ~/.cargo/git + target + key: ${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('Cargo.lock') }} + restore-keys: | + ${{ runner.os }}-${{ matrix.target }}- - name: Install Linker Tools if: matrix.tools