Skip to content

Commit 11e085a

Browse files
committed
added explicit bash shell to avoid bad substitutions
1 parent aad08fa commit 11e085a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/linux-build.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
restore-keys: ${{ runner.os }}-cmake-
4646

4747
- name: Configure (${{ matrix.preset }})
48+
shell: bash
4849
run: |
4950
set +e
5051
cmake --preset ${{ matrix.preset }} 2>&1 | tee configure_output.txt
@@ -67,6 +68,7 @@ jobs:
6768
exit $CONFIGURE_EXIT_CODE
6869
6970
- name: Build (${{ matrix.preset }})
71+
shell: bash
7072
run: |
7173
set +e
7274
cmake --build --preset ${{ matrix.preset }} 2>&1 | tee build_output.txt
@@ -89,6 +91,7 @@ jobs:
8991
exit $BUILD_EXIT_CODE
9092
9193
- name: Test (${{ matrix.preset }})
94+
shell: bash
9295
run: |
9396
set +e
9497
ctest --preset ${{ matrix.preset }} --output-on-failure 2>&1 | tee test_output.txt

0 commit comments

Comments
 (0)