From 2f1d3a3084dd4594f7924a85a808e13c77355e32 Mon Sep 17 00:00:00 2001 From: Myzel394 <50424412+Myzel394@users.noreply.github.com> Date: Wed, 15 May 2024 21:00:34 +0200 Subject: [PATCH] fix(ci-cd): Improve releasing --- .github/workflows/release-app-github.yaml | 2 +- .github/workflows/release-app-google-play.yaml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-app-github.yaml b/.github/workflows/release-app-github.yaml index 7cfaafce..68914ab7 100644 --- a/.github/workflows/release-app-github.yaml +++ b/.github/workflows/release-app-github.yaml @@ -1,4 +1,4 @@ -name: Build and publish app +name: Build and publish app (F-Droid variant) on: release: diff --git a/.github/workflows/release-app-google-play.yaml b/.github/workflows/release-app-google-play.yaml index a941fef6..94b728b8 100644 --- a/.github/workflows/release-app-google-play.yaml +++ b/.github/workflows/release-app-google-play.yaml @@ -1,4 +1,4 @@ -name: Build and publish app to Google Play +name: Build and publish app to Google Play (Google Play variant) on: release: @@ -32,12 +32,15 @@ jobs: - name: Build Bundles 📱 run: ./gradlew bundleRelease + - name: Rename APK + run: mv app/build/outputs/bundle/playStoreRelease/app-playStore-release.aab NumberHub.aab + - name: Upload Bundles 🚀 uses: r0adkll/upload-google-play@v1 with: serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_STORE_SERVICE_ACCOUNT }} packageName: app.myzel394.numberhub - releaseFiles: app/build/outputs/bundle/release/app-release.aab + releaseFiles: NumberHub.aab track: production status: inProgress userFraction: 0.5