Skip to content

Commit

Permalink
build: free up space differently
Browse files Browse the repository at this point in the history
  • Loading branch information
Johennes committed Nov 12, 2024
1 parent 31a56cc commit ec0e377
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ jobs:
run: cargo install cargo-ndk

- name: Generate
run: yarn ubrn:clean && yarn ubrn:checkout && yarn ubrn:android
run: |
yarn ubrn:clean
yarn ubrn:checkout
yarn ubrn:android
# Free up space for subsequent steps
rm -rf rust_modules
- name: Cache turborepo for Android
uses: actions/cache@v4
Expand Down Expand Up @@ -69,11 +74,6 @@ jobs:
restore-keys: |
${{ runner.os }}-gradle-
- name: Free up disk space
run: |
# https://github.com/orgs/community/discussions/25678#discussioncomment-5242449
rm -rvf /opt/hostedtoolcache
- name: Build example for Android
env:
JAVA_OPTS: "-XX:MaxHeapSize=6g"
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ jobs:
cat example/ios/.xcode.env.local
- name: Generate
run: yarn ubrn:clean && yarn ubrn:checkout && yarn ubrn:ios
run: |
yarn ubrn:clean
yarn ubrn:checkout
yarn ubrn:ios
# Free up space for subsequent steps
rm -rf rust_modules
# - name: Cache turborepo for iOS
# uses: actions/cache@v4
Expand Down

0 comments on commit ec0e377

Please sign in to comment.