Page MenuHomePhabricator

D13249.id43900.diff
No OneTemporary

D13249.id43900.diff

diff --git a/.github/workflows/ios_ci.yml b/.github/workflows/ios_ci.yml
--- a/.github/workflows/ios_ci.yml
+++ b/.github/workflows/ios_ci.yml
@@ -21,6 +21,21 @@
- name: Checkout
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: Install Developer certificate
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
diff --git a/.github/workflows/ios_release.yml b/.github/workflows/ios_release.yml
--- a/.github/workflows/ios_release.yml
+++ b/.github/workflows/ios_release.yml
@@ -14,6 +14,21 @@
- name: Checkout
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: Install Developer certificate
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 19, 11:43 PM (22 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2326908
Default Alt Text
D13249.id43900.diff (1 KB)

Event Timeline