Skip to content

Commit 89be322

Browse files
authored
Fixed issue with macOS CI when overrides are being used. (#3270)
Fixed issue with macOS CI when overrides are being used. ### Motivation: When we use Xcode_XX_X_build_arguments_override, the CI fails because of an extra double quotes ("") making its way to the final command. ### Modifications: Remove the extra double quote from the Yaml file defining macOS tests. ### Result: We are able to run `swift build` with extra arguments.
1 parent 8d2347a commit 89be322

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/macos_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,15 +295,15 @@ jobs:
295295
- name: Swift build
296296
run: |
297297
if [ -n "${{ matrix.config.build_arguments_override }}" ]; then
298-
swift build "${{ matrix.config.build_arguments_override }}"
298+
swift build ${{ matrix.config.build_arguments_override }}
299299
else
300300
swift build --build-tests
301301
fi
302302
- name: Swift test
303303
if: 'inputs.swift_test_enabled'
304304
run: |
305305
if [ -n "${{ matrix.config.test_arguments_override }}" ]; then
306-
swift test "${{ matrix.config.test_arguments_override }}"
306+
swift test ${{ matrix.config.test_arguments_override }}
307307
else
308308
swift test
309309
fi

0 commit comments

Comments
 (0)