From 889a2c81283f80d15a8073d03ec32bdb4ca63df1 Mon Sep 17 00:00:00 2001 From: Taush Sampley Date: Sun, 25 Aug 2024 16:47:43 -0500 Subject: [PATCH 1/2] Only build debug variant --- .github/workflows/main-pr-checks.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main-pr-checks.yml b/.github/workflows/main-pr-checks.yml index 9c22b614..c3d5b7b0 100644 --- a/.github/workflows/main-pr-checks.yml +++ b/.github/workflows/main-pr-checks.yml @@ -1,4 +1,5 @@ -name: "PR Checks for `main`" +name: "CI / Android Debug Builds" +# on: pull_request: types: @@ -31,13 +32,13 @@ jobs: - name: "Setup Gradle" uses: gradle/actions/setup-gradle@v3 - - name: "Build: Assemble and Test entire project" - run: ./gradlew :app-android:build + - name: "Build: Assemble and Test Debug Binary" + run: ./gradlew :app-android:buildDebug # - run: ./gradlew generate coverage report, upload test/coverage reports - - name: "Bundle: Generate AABs" - run: ./gradlew :app-android:bundle + - name: "Bundle: Generate Debug AAB" + run: ./gradlew :app-android:bundleDebug # - name: "Upload: Send Release to Google Play Store" # uses: google-github-actions/upload-google-play@main From ad2460ef64512b80267f4b49944b7650bb8fa4c7 Mon Sep 17 00:00:00 2001 From: Taush Sampley Date: Sun, 25 Aug 2024 16:52:08 -0500 Subject: [PATCH 2/2] Enable upload-artifact action --- .github/workflows/main-pr-checks.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main-pr-checks.yml b/.github/workflows/main-pr-checks.yml index c3d5b7b0..fba254a9 100644 --- a/.github/workflows/main-pr-checks.yml +++ b/.github/workflows/main-pr-checks.yml @@ -48,8 +48,8 @@ jobs: # bundleFile: app/build/outputs/bundle/release/app-release.aab # track: internal -# - name: "Upload: Send AABs to GitHub" -# uses: actions/upload-artifact@v2 -# with: -# name: app-android -# path: app-android/build/outputs/bundle/debug/app-android-debug.aab + - name: "Upload: Send AABs to GitHub" + uses: actions/upload-artifact@v4 + with: + name: app-android-debug + path: app-android/build/outputs/bundle/debug/app-android-debug.aab