Skip to content

Commit b2a5b7b

Browse files
committed
try new workflow reusable
1 parent 924d8b2 commit b2a5b7b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ permissions:
2626
jobs:
2727
# Step 1: Use reusable workflow to prepare release branch
2828
prep:
29-
uses: OneSignal/sdk-actions/.github/workflows/prep-release.yml@main
29+
uses: OneSignal/sdk-actions/.github/workflows/prep-release.yml@3baaadcef6da01536c48b9ac2b0c320f43b771c5
3030
with:
3131
version: ${{ github.event.inputs.version }}
32+
target_branch: ${{ github.event.inputs.base_branch }}
3233

3334
# Step 2: Update iOS-specific files and build binaries
3435
update-and-build:
@@ -145,11 +146,10 @@ jobs:
145146
# Step 3: Use reusable workflow to create iOS SDK PR with release notes
146147
create-ios-pr:
147148
needs: [prep, update-and-build]
148-
uses: OneSignal/sdk-actions/.github/workflows/create-release.yml@main
149+
uses: OneSignal/sdk-actions/.github/workflows/create-release.yml@3baaadcef6da01536c48b9ac2b0c320f43b771c5
149150
with:
150151
release_branch: ${{ needs.prep.outputs.release_branch }}
151-
version_from: ${{ needs.update-and-build.outputs.version_from }}
152-
version_to: ${{ github.event.inputs.version }}
152+
target_branch: ${{ github.event.inputs.base_branch }}
153153

154154
# Step 4: Update XCFramework repository
155155
update-xcframework:

0 commit comments

Comments
 (0)