mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 01:43:47 +01:00
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
This commit is contained in:
parent
0884d1a5ce
commit
82b7548c0c
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -18,6 +18,7 @@ jobs:
|
|||||||
name: Std
|
name: Std
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
target:
|
target:
|
||||||
- aarch64-apple-darwin
|
- aarch64-apple-darwin
|
||||||
@ -78,10 +79,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "targets = ['${{matrix.target}}']" >> rust-toolchain.toml
|
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
|
uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
|
||||||
# WARN: Keep the rustflags to prevent from the winget submission error: `CAQuietExec: Error 0xc0000135`
|
# WARN: Keep the rustflags to prevent from the winget submission error: `CAQuietExec: Error 0xc0000135`
|
||||||
with:
|
with:
|
||||||
|
cache: false
|
||||||
rustflags: ''
|
rustflags: ''
|
||||||
|
|
||||||
- name: Setup Nushell
|
- name: Setup Nushell
|
||||||
@ -167,10 +169,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "targets = ['${{matrix.target}}']" >> rust-toolchain.toml
|
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
|
uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
|
||||||
# WARN: Keep the rustflags to prevent from the winget submission error: `CAQuietExec: Error 0xc0000135`
|
# WARN: Keep the rustflags to prevent from the winget submission error: `CAQuietExec: Error 0xc0000135`
|
||||||
with:
|
with:
|
||||||
|
cache: false
|
||||||
rustflags: ''
|
rustflags: ''
|
||||||
|
|
||||||
- name: Setup Nushell
|
- name: Setup Nushell
|
||||||
|
Loading…
Reference in New Issue
Block a user