Skip to content

Commit 0f4df4c

Browse files
committed
checkout the branch in the checkout step
1 parent 862294b commit 0f4df4c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
xcode-version: '14.1'
3232
- name: Checkout OneSignal-iOS-SDK
3333
uses: actions/checkout@v4
34+
with:
35+
ref: ${{env.release_branch}}
3436

3537
- name: Install the Apple certificate and provisioning profile
3638
uses: apple-actions/import-codesign-certs@v2
@@ -39,11 +41,6 @@ jobs:
3941
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
4042
# - name: Bump Version Number
4143
# run: |
42-
- name: Checkout release branch
43-
run: |
44-
git config --local user.email "[email protected]"
45-
git config --local user.name "SyncR 🤖"
46-
git checkout ${{env.release_branch}}
4744
- name: Build Binaries
4845
run: |
4946
cd iOS_SDK/OneSignalSDK

0 commit comments

Comments
 (0)