From 82b7548c0c64fa0f5672d8bb387b4ff6a60841ef Mon Sep 17 00:00:00 2001 From: Stefan Holderbach Date: Sat, 6 Apr 2024 04:20:01 +0200 Subject: [PATCH] Tweak release workflow after `0.92.1` lessons (#12401) Encountered repeated build failure that vanished after clearing the existing build caches. - Don't `fail-fast` (this is highly annoying, if a severe problem is detected, there is still the possibility to intervene manually) - Don't cache the build process, we do it rarely so any potential speed-up is offset by the uncertainty if this affects the artefact --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f038a29c5..fe00990abf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,7 @@ jobs: name: Std strategy: + fail-fast: false matrix: target: - aarch64-apple-darwin @@ -78,10 +79,11 @@ jobs: run: | echo "targets = ['${{matrix.target}}']" >> rust-toolchain.toml - - name: Setup Rust toolchain and cache + - name: Setup Rust toolchain uses: actions-rust-lang/setup-rust-toolchain@v1.8.0 # WARN: Keep the rustflags to prevent from the winget submission error: `CAQuietExec: Error 0xc0000135` with: + cache: false rustflags: '' - name: Setup Nushell @@ -167,10 +169,11 @@ jobs: run: | echo "targets = ['${{matrix.target}}']" >> rust-toolchain.toml - - name: Setup Rust toolchain and cache + - name: Setup Rust toolchain uses: actions-rust-lang/setup-rust-toolchain@v1.8.0 # WARN: Keep the rustflags to prevent from the winget submission error: `CAQuietExec: Error 0xc0000135` with: + cache: false rustflags: '' - name: Setup Nushell