@@ -135,6 +135,27 @@ jobs:
135135 git commit -m "Bump iOS SDK $VERSION"
136136 git push
137137
138+ create-pr :
139+ needs : [prep, update-version]
140+ uses : OneSignal/sdk-actions/.github/workflows/create-release.yml@main
141+ with :
142+ release_branch : ${{ needs.prep.outputs.release_branch }}
143+ version_from : ${{ needs.update-version.outputs.unity_from }}
144+ version_to : ${{ inputs.unity_version }}
145+ android_from : ${{ needs.update-version.outputs.android_from }}
146+ android_to : ${{ inputs.android_version }}
147+ ios_from : ${{ needs.update-version.outputs.ios_from }}
148+ ios_to : ${{ inputs.ios_version }}
149+
150+ draft-release :
151+ needs : [prep, update-version]
152+ runs-on : ubuntu-latest
153+ steps :
154+ - name : Checkout
155+ uses : actions/checkout@v5
156+ with :
157+ ref : ${{ needs.prep.outputs.release_branch }}
158+
138159 - name : Update Unity SDK version
139160 run : |
140161 echo "Updating Unity SDK version to ${{ inputs.unity_version }}"
@@ -222,6 +243,17 @@ jobs:
222243 git commit -m "Release ${{ inputs.unity_version }}"
223244 git push
224245
246+ - name : Debug — list Unity package files
247+ run : |
248+ echo "Current working directory:"
249+ pwd
250+ echo ""
251+ echo "List of all files under OneSignalExample:"
252+ ls -Rlh OneSignalExample || true
253+ echo ""
254+ echo "Searching for .unitypackage files:"
255+ find OneSignalExample -type f -name "*.unitypackage" -print
256+
225257 - name : Draft Release
226258 env :
227259 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -230,16 +262,4 @@ jobs:
230262 gh release create "${{ inputs.unity_version }}" "${package_path}"\
231263 --draft\
232264 --title "${{ inputs.unity_version }} Release"\
233- --notes "TODO"
234-
235- create-pr :
236- needs : [prep, update-version]
237- uses : OneSignal/sdk-actions/.github/workflows/create-release.yml@main
238- with :
239- release_branch : ${{ needs.prep.outputs.release_branch }}
240- version_from : ${{ needs.update-version.outputs.unity_from }}
241- version_to : ${{ inputs.unity_version }}
242- android_from : ${{ needs.update-version.outputs.android_from }}
243- android_to : ${{ inputs.android_version }}
244- ios_from : ${{ needs.update-version.outputs.ios_from }}
245- ios_to : ${{ inputs.ios_version }}
265+ --notes "TODO"
0 commit comments