File tree Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -188,28 +188,18 @@ jobs:
188188 sed -i '' "s/setSdkVersion:@\"[0-9]*\"/setSdkVersion:@\"${PADDED_VERSION}\"/" \
189189 com.onesignal.unity.ios/Runtime/Plugins/iOS/UIApplication+OneSignalUnity.mm
190190
191- echo "✓ Updated Unity SDK to ${VERSION}"
192- git add .
193- git commit -m "Release ${{ inputs.unity_version }}"
194- git push
195-
196191 - name : Cleaning up Unity locks
197192 run : |
198193 pkill -f Unity || true
199194 rm -f OneSignalExample/Temp/UnityLockfile
200195
201- - name : Run UpdateProjectVersion
202- uses : buildalon/unity-action@v3
203- with :
204- project-path : OneSignalExample
205- args : -quit -batchmode -nographics -buildTarget Android -executeMethod OneSignalSDK.OneSignalPackagePublisher.UpdateProjectVersion
206-
207-
208196 - name : Run ExportUnityPackage
209- uses : buildalon/unity-action@v3
210- with :
211- project-path : OneSignalExample
212- args : -quit -batchmode -nographics -buildTarget Android -executeMethod OneSignalSDK.OneSignalPackagePublisher.ExportUnityPackage
197+ run : |
198+ /Applications/Unity/Hub/Editor/2022.3.10f1/Unity.app/Contents/MacOS/Unity \
199+ -quit -batchmode -nographics \
200+ -projectPath OneSignalExample \
201+ -buildTarget Android \
202+ -executeMethod OneSignalSDK.OneSignalPackagePublisher.UpdateProjectVersion
213203
214204 - name : Commit Release
215205 run : |
You can’t perform that action at this time.
0 commit comments