Skip to content

Commit

Permalink
Use large runner for Android build
Browse files Browse the repository at this point in the history
And also print out the filesystem space usage before building
  • Loading branch information
Lucas Leblow committed Oct 3, 2023
1 parent 4c2db16 commit 5598337
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/deploy-android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ name: Deploy Android to Google Play (internal testing)

on:
release:
types:
types:
[prereleased, released]

jobs:
build-android:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest-m
if: |
startsWith(github.ref, 'refs/tags/@quiet/mobile')
Expand All @@ -33,7 +33,7 @@ jobs:
with:
ndk-version: r21e
add-to-path: false

- name: "Setup environment"
uses: ./.github/actions/setup-env
with:
Expand All @@ -47,7 +47,7 @@ jobs:
printf "\
NDK_PATH=${{ steps.setup-ndk.outputs.ndk-path }}\n\
" > $HOME/.gradle/gradle.properties
- name: "Prepare signing configuration"
run: |
printf "\
Expand All @@ -61,7 +61,9 @@ jobs:
run: echo ${{ SECRETS.GOOGLE_KEYSTORE }} | base64 --decode > ./packages/mobile/android/app/quietmobile.keystore

- name: "Build for Android"
run: cd ./packages/mobile/android && ENVFILE=../.env.production ./gradlew bundleStandardRelease
run: |
df -h
cd ./packages/mobile/android && ENVFILE=../.env.production ./gradlew bundleStandardRelease
- name: "Upload Artifact"
continue-on-error: true
Expand All @@ -76,7 +78,7 @@ jobs:
mkdir -p distribution/whatsnew
git log -1 --pretty=format:%s > distribution/whatsnew/whatsnew-pl-PL
echo ${{ SECRETS.SERVICE_ACCOUNT_JSON }} | base64 --decode > google-play.json
- name: "Upload to Google Play"
uses: r0adkll/[email protected]
with:
Expand Down

0 comments on commit 5598337

Please sign in to comment.