Skip to content

Commit fdb4dbf

Browse files
committed
Set IDEPackageEnablePrebuilts NO
1 parent fb5f2e2 commit fdb4dbf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/common.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ jobs:
6868
- uses: actions/checkout@v4
6969
- name: Xcode
7070
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
71+
- name: Disable SPM Prebuilts
72+
run: defaults write com.apple.dt.Xcode IDEPackageEnablePrebuilts NO
7173
- name: Generate Swift Package.resolved
7274
id: swift_package_resolve
7375
run: swift package resolve
@@ -112,11 +114,13 @@ jobs:
112114
run: ${{ inputs.setup_command }}
113115
- name: Initialize xcodebuild
114116
run: scripts/setup_spm_tests.sh
117+
- name: Disable SPM Prebuilts
118+
run: defaults write com.apple.dt.Xcode IDEPackageEnablePrebuilts NO
115119
- uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
116120
if: contains(join(inputs.platforms), matrix.platform) || matrix.os == 'macos-14'
117121
with:
118122
timeout_minutes: 15
119-
max_attempts: 3
123+
max_attempts: 1 # TODO: Change back to 3 after testing
120124
retry_wait_seconds: 120
121125
command: |
122126
./scripts/build.sh \

0 commit comments

Comments
 (0)