From 072c62e55d1baf75de89f89422633b1b094c7de7 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Mon, 12 May 2025 21:42:44 +0100 Subject: [PATCH] Remove cargo caching in CI It didn't work because it didn't have the right target directories listed, but even with the right directories it wouldn't work because they get wiped by CMake when it starts building. --- .github/workflows/ci.yml | 22 ---------------------- .github/workflows/release.yml | 11 ----------- 2 files changed, 33 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2035dfd..c0835f4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,17 +21,6 @@ jobs: with: fetch-depth: 0 - - name: Cache cargo - uses: actions/cache@v4 - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - name: Get descriptive libloot version id: get-libloot-version shell: bash @@ -149,17 +138,6 @@ jobs: with: fetch-depth: 0 - - name: Cache cargo - uses: actions/cache@v4 - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - name: Install Rust i686-pc-windows-msvc target run: rustup target add i686-pc-windows-msvc if: matrix.platform == 'Win32' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 490b9b94..5c23c60d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,17 +48,6 @@ jobs: with: fetch-depth: 0 - - name: Cache cargo - uses: actions/cache@v4 - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - name: Install Rust i686-pc-windows-msvc target run: rustup target add i686-pc-windows-msvc if: matrix.platform == 'Win32'