Skip to content

Commit

Permalink
fix Android build tests
Browse files Browse the repository at this point in the history
Lately this action has been running out of disk space, this is an attempt on fixing this issue.
  • Loading branch information
wcandillon authored Aug 6, 2024
1 parent 30c1284 commit 6fc4a38
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/android-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- main
pull_request:

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -94,9 +93,13 @@ jobs:

# Cache apk for both directories
- name: Cache apk
uses: actions/cache/save@v3
uses: actions/cache@v3
env:
cache-name: cache-apk
with:
path: ${{ matrix.directory }}/android/app/build/outputs/apk/debug/app-debug.apk
key: apk-${{ github.sha }}

# Clean up after the build to free up space
- name: Clean up build directories
run: rm -rf ${{ matrix.directory }}/android/app/build

0 comments on commit 6fc4a38

Please sign in to comment.