Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3346843
D13247.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
912 B
Referenced Files
None
Subscribers
None
D13247.diff
View Options
diff --git a/.github/workflows/android_release.yml b/.github/workflows/android_release.yml
--- a/.github/workflows/android_release.yml
+++ b/.github/workflows/android_release.yml
@@ -12,6 +12,21 @@
steps:
- uses: actions/checkout@v3
+ - name: Clear unused NDKs
+ run: |
+ ls -1 "$ANDROID_SDK_ROOT/ndk" |
+ awk '{
+ if (system("git grep " $0 " > /dev/null")) {
+ system("rm -rf '"$ANDROID_SDK_ROOT/ndk/"'" $0);
+ }
+ }'
+
+ - name: Delete all iOS simulators
+ run: xcrun simctl delete all
+
+ - name: Delete iOS simulator caches
+ run: sudo rm -rf ~/Library/Developer/CoreSimulator/Caches/*
+
- name: rustup target add aarch64-linux-android arm-linux-androideabi x86_64-linux-android
run: rustup target add aarch64-linux-android arm-linux-androideabi x86_64-linux-android
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 10:03 AM (11 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2570163
Default Alt Text
D13247.diff (912 B)
Attached To
Mode
D13247: [GitHub CI] Clear unused NDKs and iOS simulator to fix Android CI
Attached
Detach File
Event Timeline
Log In to Comment