From 8596906ef112524d45357a2a1710729b23aa77c5 Mon Sep 17 00:00:00 2001 From: sora Date: Fri, 18 Sep 2026 22:19:11 +0200 Subject: [PATCH] Update .github/workflows/build.yml --- .github/workflows/build.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9f4ac86..7b3e800 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -69,7 +69,9 @@ jobs: else VERSION_NAME="${VERSION_BASE}" fi - ./gradlew assembleSignedRelease -PVERSION_CODE=$VERSION_CODE -PVERSION_NAME=$VERSION_NAME + ./gradlew bundleSignedRelease assembleSignedRelease -PVERSION_CODE=$VERSION_CODE -PVERSION_NAME=$VERSION_NAME + # ./gradlew assembleSignedRelease -PVERSION_CODE=$VERSION_CODE -PVERSION_NAME=$VERSION_NAME + # ./gradlew bundleSignedRelease -PVERSION_CODE=$VERSION_CODE -PVERSION_NAME=$VERSION_NAME - name: Upload APK uses: actions/upload-artifact@v7 @@ -90,3 +92,16 @@ jobs: else echo "true" fi + + + - name: Build Release AAB + run: ./gradlew bundleRelease + + - name: Upload to Google Play + uses: r0adkll/upload-google-play@v1 + with: + serviceAccountJson: ${{ secrets.SERVICE_ACCOUNT_JSON }} + packageName: net.helcel.fidelity + releaseFiles: app/build/outputs/bundle/signedRelease/app-signedRelease.aab + track: ${{ startsWith(github.ref, 'refs/tags/') && 'production' || 'beta' }} + status: completed