Skip to content

Commit a805fab

Browse files
authored
Helps if one sets the right environment var...
1 parent 856d746 commit a805fab

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ 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: |
185+
echo "EXTRA_FLAGS=$(echo "${EXTRA_FLAGS}" | sed -Ee "s/--(dis|en)able-experimental-prebuilts//g")" >>"${GITHUB_ENV}"
186+
echo "ENABLE_ALL_TRAITS=" >>"${GITHUB_ENV}"
185187
- name: Restore .build
186188
# If cache-restore is causing the CI to fail, use 'Enable debug logging' on a re-run to disable the step.
187189
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)