Skip to content

Commit 856d746

Browse files
authored
No, I said make the flag safe, not misremember the rules for parenthesis in regular expressions
1 parent 298ac2a commit 856d746

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/run-unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181
- name: Strip flags incompatible with 6.0
182182
if: ${{ matrix.swift-config.image == 'swift:6.0-noble' && steps.swift-check.outputs.swift-compatible == 'true' && (matrix.swift-config.build-mode == 'debug' || inputs.with_release_mode_testing) }}
183183
shell: bash
184-
run: 'echo "EXTRA_FLAGS=$(echo "${EXTRA_FLAGS}" | sed -Ee "s/--((dis|en)able-experimental-prebuilts)|(enable-all-traits)//g")" >>"${GITHUB_ENV}"'
184+
run: 'echo "EXTRA_FLAGS=$(echo "${EXTRA_FLAGS}" | sed -Ee "s/--(((dis|en)able-experimental-prebuilts)|enable-all-traits)//g")" >>"${GITHUB_ENV}"'
185185
- name: Restore .build
186186
# If cache-restore is causing the CI to fail, use 'Enable debug logging' on a re-run to disable the step.
187187
if: ${{ runner.debug != '1' && steps.swift-check.outputs.swift-compatible == 'true' && (matrix.swift-config.build-mode == 'debug' || inputs.with_release_mode_testing) }}

0 commit comments

Comments
 (0)