Skip to content

Commit 15b57b9

Browse files
authored
Merge pull request #1833 from tmccombs/build-fixes
fix[build]: Fix syntax of github action
2 parents 32f9fd3 + 3b32256 commit 15b57b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/CICD.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
run: cargo test --locked "${MSRV_FEATURES}"
8585

8686
build:
87-
name: ${{ matrix.job.target }} (${{ matrix.job.os }})
87+
name: '${{ matrix.job.target }} (${{ matrix.job.os }})'
8888
runs-on: ${{ matrix.job.os }}
8989
needs: crate_metadata
9090
permissions:
@@ -109,7 +109,7 @@ jobs:
109109
- { target: x86_64-unknown-linux-gnu , os: ubuntu-24.04, use-cross: true }
110110
- { target: x86_64-unknown-linux-musl , os: ubuntu-24.04, use-cross: true }
111111
env:
112-
BUILD_CMD: ${{ matrix.job.use-cross && cross || cargo }}
112+
BUILD_CMD: "${{ matrix.job.use-cross && 'cross' || 'cargo' }}"
113113
target: ${{ matrix.job.target }}
114114
name: ${{ needs.crate_metadata.outputs.name }}
115115
steps:
@@ -178,7 +178,7 @@ jobs:
178178
unset CARGO_TEST_OPTIONS
179179
case ${target} in
180180
arm-* | aarch64-*)
181-
CARGO_TEST_OPTIONS="--bin ${name}" ;;
181+
CARGO_TEST_OPTIONS="--bin=${name}" ;;
182182
esac
183183
echo "CARGO_TEST_OPTIONS=${CARGO_TEST_OPTIONS}" >> $GITHUB_OUTPUT
184184

0 commit comments

Comments
 (0)