diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-12-31 21:14:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-31 21:14:18 -0500 |
commit | 0fa11fb5c554b72afbdbe6e0c507ff1d31ac8880 (patch) | |
tree | 408e1687befdb6c6be8f2d5fa6f837442be07c90 /.github | |
parent | b7bf57481f51870d25dec19b422486c8ecc56dca (diff) |
ci: disable cache for cross release gen (#942)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build_releases.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml index df2e1b68..833b68a5 100644 --- a/.github/workflows/build_releases.yml +++ b/.github/workflows/build_releases.yml @@ -139,8 +139,10 @@ jobs: sh rustup.sh --default-toolchain stable -y echo "$HOME/.cargo/bin" >> $GITHUB_PATH + # We disable this for cross builds, as it seems to cause some issues. - name: Enable Rust cache uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # 2.2.0 + if: matrix.info.cross != true with: shared-key: build-cache-${{ matrix.info.target }} save-if: "false" @@ -317,6 +319,7 @@ jobs: target: ${{ matrix.info.target }} - name: Enable Rust cache + if: matrix.info.cross != true uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # 2.2.0 with: shared-key: build-cache-${{ matrix.info.target }} |