Skip to content

Commit 60ce92d

Browse files
committed
clear library cache
1 parent 3bd8c04 commit 60ce92d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/create-release-pr.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
# Unity specific steps
4343
update-version:
4444
needs: prep
45-
runs-on: macos-latest
45+
runs-on: macos-latest-large
4646
outputs:
4747
unity_from: ${{ steps.current_versions.outputs.unity_from }}
4848
ios_from: ${{ steps.current_versions.outputs.ios_from }}
@@ -188,6 +188,13 @@ jobs:
188188
sed -i '' "s/setSdkVersion:@\"[0-9]*\"/setSdkVersion:@\"${PADDED_VERSION}\"/" \
189189
com.onesignal.unity.ios/Runtime/Plugins/iOS/UIApplication+OneSignalUnity.mm
190190
191+
# may hit OutOfMemoryException sometimes if cache is not cleared
192+
- name: Clear Unity Library and Temp caches
193+
run: |
194+
rm -rf OneSignalExample/Library
195+
rm -rf OneSignalExample/Temp
196+
rm -rf OneSignalExample/obj
197+
191198
- name: Run UpdateProjectVersion
192199
uses: buildalon/unity-action@v3
193200
with:

0 commit comments

Comments
 (0)