Skip to content

Commit 8537bbe

Browse files
Saadnajmiclaude
andcommitted
ci: rename Build SwiftPM workflow to Prebuild macOS Core
Aligns naming with upstream's convention (prebuild-ios-core.yml). SPM is an implementation detail; the workflow name should describe what it produces, not how. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 626c0d3 commit 8537bbe

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/microsoft-pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ jobs:
132132
permissions: {}
133133
uses: ./.github/workflows/microsoft-build-rntester.yml
134134

135-
build-spm:
136-
name: "Build SPM"
135+
prebuild-macos-core:
136+
name: "Prebuild macOS Core"
137137
permissions: {}
138-
uses: ./.github/workflows/microsoft-build-spm.yml
138+
uses: ./.github/workflows/microsoft-prebuild-macos-core.yml
139139

140140
test-react-native-macos-init:
141141
name: "Test react-native-macos init"
@@ -161,7 +161,7 @@ jobs:
161161
- yarn-constraints
162162
- javascript-tests
163163
- build-rntester
164-
- build-spm
164+
- prebuild-macos-core
165165
- test-react-native-macos-init
166166
# - react-native-test-app-integration
167167
steps:

.github/workflows/microsoft-build-spm.yml renamed to .github/workflows/microsoft-prebuild-macos-core.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build SwiftPM
1+
name: Prebuild macOS Core
22

33
on:
44
workflow_call:
@@ -209,8 +209,8 @@ jobs:
209209
path: hermes/destroot
210210
retention-days: 30
211211

212-
build-spm:
213-
name: "SPM ${{ matrix.platform }}"
212+
build:
213+
name: "Build ${{ matrix.platform }}"
214214
needs: [resolve-hermes, assemble-hermes]
215215
# Run when upstream jobs succeeded or were skipped (cache hit)
216216
if: ${{ always() && !cancelled() && !failure() }}
@@ -259,14 +259,14 @@ jobs:
259259
run: |
260260
echo "prebuilt-Debug" > .build/artifacts/hermes/version.txt
261261
262-
- name: Setup SPM workspace (using prebuilt Hermes)
262+
- name: Setup workspace (using prebuilt Hermes)
263263
if: steps.cache-slice.outputs.cache-hit != 'true'
264264
working-directory: packages/react-native
265265
env:
266266
HERMES_VERSION: prebuilt
267267
run: node scripts/ios-prebuild.js -s -f Debug
268268

269-
- name: Build SPM (${{ matrix.platform }})
269+
- name: Build (${{ matrix.platform }})
270270
if: steps.cache-slice.outputs.cache-hit != 'true'
271271
working-directory: packages/react-native
272272
run: node scripts/ios-prebuild.js -b -f Debug -p ${{ matrix.platform }}
@@ -294,7 +294,7 @@ jobs:
294294

295295
compose-xcframework:
296296
name: "Compose XCFramework (Debug)"
297-
needs: [build-spm]
297+
needs: [build]
298298
if: ${{ always() && !cancelled() && !failure() }}
299299
runs-on: macos-26
300300
timeout-minutes: 30

0 commit comments

Comments
 (0)