Skip to content

Commit 821930a

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 3ea3c9a commit 821930a

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
@@ -138,10 +138,10 @@ jobs:
138138
permissions: {}
139139
uses: ./.github/workflows/microsoft-build-rntester.yml
140140

141-
build-spm:
142-
name: "Build SPM"
141+
prebuild-macos-core:
142+
name: "Prebuild macOS Core"
143143
permissions: {}
144-
uses: ./.github/workflows/microsoft-build-spm.yml
144+
uses: ./.github/workflows/microsoft-prebuild-macos-core.yml
145145

146146
test-react-native-macos-init:
147147
name: "Test react-native-macos init"
@@ -168,7 +168,7 @@ jobs:
168168
- yarn-constraints
169169
- javascript-tests
170170
- build-rntester
171-
- build-spm
171+
- prebuild-macos-core
172172
- test-react-native-macos-init
173173
# - react-native-test-app-integration
174174
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:
@@ -245,8 +245,8 @@ jobs:
245245
path: hermes/destroot
246246
retention-days: 30
247247

248-
build-spm:
249-
name: "SPM ${{ matrix.platform }}"
248+
build:
249+
name: "Build ${{ matrix.platform }}"
250250
needs: [resolve-hermes, assemble-hermes]
251251
# Run when upstream jobs succeeded or were skipped (cache hit)
252252
if: ${{ always() && !cancelled() && !failure() }}
@@ -295,14 +295,14 @@ jobs:
295295
run: |
296296
echo "prebuilt-Debug" > .build/artifacts/hermes/version.txt
297297
298-
- name: Setup SPM workspace (using prebuilt Hermes)
298+
- name: Setup workspace (using prebuilt Hermes)
299299
if: steps.cache-slice.outputs.cache-hit != 'true'
300300
working-directory: packages/react-native
301301
env:
302302
HERMES_VERSION: prebuilt
303303
run: node scripts/ios-prebuild.js -s -f Debug
304304

305-
- name: Build SPM (${{ matrix.platform }})
305+
- name: Build (${{ matrix.platform }})
306306
if: steps.cache-slice.outputs.cache-hit != 'true'
307307
working-directory: packages/react-native
308308
run: node scripts/ios-prebuild.js -b -f Debug -p ${{ matrix.platform }}
@@ -330,7 +330,7 @@ jobs:
330330

331331
compose-xcframework:
332332
name: "Compose XCFramework (Debug)"
333-
needs: [build-spm]
333+
needs: [build]
334334
if: ${{ always() && !cancelled() && !failure() }}
335335
runs-on: macos-26
336336
timeout-minutes: 30

0 commit comments

Comments
 (0)