mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-27 07:34:27 +02:00
ci: disable cache for cross release gen (#942)
This commit is contained in:
parent
b7bf57481f
commit
0fa11fb5c5
3
.github/workflows/build_releases.yml
vendored
3
.github/workflows/build_releases.yml
vendored
@ -139,8 +139,10 @@ jobs:
|
|||||||
sh rustup.sh --default-toolchain stable -y
|
sh rustup.sh --default-toolchain stable -y
|
||||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
|
# We disable this for cross builds, as it seems to cause some issues.
|
||||||
- name: Enable Rust cache
|
- name: Enable Rust cache
|
||||||
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # 2.2.0
|
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # 2.2.0
|
||||||
|
if: matrix.info.cross != true
|
||||||
with:
|
with:
|
||||||
shared-key: build-cache-${{ matrix.info.target }}
|
shared-key: build-cache-${{ matrix.info.target }}
|
||||||
save-if: "false"
|
save-if: "false"
|
||||||
@ -317,6 +319,7 @@ jobs:
|
|||||||
target: ${{ matrix.info.target }}
|
target: ${{ matrix.info.target }}
|
||||||
|
|
||||||
- name: Enable Rust cache
|
- name: Enable Rust cache
|
||||||
|
if: matrix.info.cross != true
|
||||||
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # 2.2.0
|
uses: Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6 # 2.2.0
|
||||||
with:
|
with:
|
||||||
shared-key: build-cache-${{ matrix.info.target }}
|
shared-key: build-cache-${{ matrix.info.target }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user