Skip to content

Commit ec2a2cb

Browse files
committed
ci: don't fail fast
1 parent 62f24f6 commit ec2a2cb

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/rust.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ env:
1616
jobs:
1717
test-build:
1818
strategy:
19+
fail-fast: false
1920
matrix:
2021
include:
2122
- { os: "macos-latest", target: "aarch64-apple-darwin" }
@@ -36,8 +37,8 @@ jobs:
3637
- name: Configure sccache
3738
if: github.event_name != 'release' && github.event_name != 'workflow_dispatch'
3839
run: |
39-
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
40-
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
40+
echo "SCCACHE_GHA_ENABLED=true" >> "$GITHUB_ENV"
41+
echo "RUSTC_WRAPPER=sccache" >> "$GITHUB_ENV"
4142
4243
- name: Setup rust cache action
4344
uses: swatinem/rust-cache@v2
@@ -65,7 +66,7 @@ jobs:
6566

6667
- name: Set build mode
6768
shell: bash
68-
run: if [ "${{github.ref_type}}" == "tag" || ${{ github.event_name == 'push' && github.ref_name == 'main' }} ]; then echo "BMODE=release">>"$GITHUB_ENV"; fi
69+
run: if [ "${{github.ref_type}}" == "tag" ] || [ ${{ github.event_name == 'push' && github.ref_name == 'main' }} ]; then echo "BMODE=release">>"$GITHUB_ENV"; fi
6970

7071
- name: Build in ${{env.BMODE || 'debug'}} mode
7172
run: cargo build --verbose --locked --${{env.BMODE}}

0 commit comments

Comments
 (0)