2525 - name : Checkout OneSignal-iOS-SDK
2626 uses : actions/checkout@v4
2727 with :
28- ref : ${{env .release_branch}}
28+ ref : ${{github.event.inputs .release_branch}}
2929
3030 - name : Install the Apple certificate and provisioning profile
3131 uses : apple-actions/import-codesign-certs@v2
@@ -44,33 +44,33 @@ jobs:
4444 run : |
4545 cd iOS_SDK/OneSignalSDK
4646 chmod +x ./update_swift_package.sh
47- ./update_swift_package.sh ${{env .version}}
47+ ./update_swift_package.sh ${{github.event.inputs .version}}
4848 shell : bash
4949 - name : Commit Changes
5050 run : |
5151 git config --local user.email "[email protected] " 5252 git config --local user.name "SyncR 🤖"
5353 git add .
54- git commit -m "Release ${{env .version}}"
54+ git commit -m "Release ${{github.event.inputs .version}}"
5555
5656 - name : Pushing changes
5757 uses : ad-m/github-push-action@master
5858 with :
5959 github_token : ${{ secrets.GITHUB_TOKEN }}
6060 repository : ' OneSignal/OneSignal-iOS-SDK'
6161 force : true
62- branch : ${{env .release_branch}}
62+ branch : ${{github.event.inputs .release_branch}}
6363
6464 - name : " Submitting PR"
65656666 with :
6767 route : POST /repos/{owner}/{repo}/pulls
6868 owner : OneSignal
6969 repo : OneSignal-iOS-SDK
70- head : ${{env .release_branch}}
70+ head : ${{github.event.inputs .release_branch}}
7171 base : main
7272 title : |
73- "Release ${{env .version}}"
73+ "Release ${{github.event.inputs .version}}"
7474 body : |
7575 "Add Release Notes For Review Here"
7676 env :
0 commit comments