From 35f41130bd35342c4949cd2fbdde33136304ee15 Mon Sep 17 00:00:00 2001 From: "byungtak.lee" Date: Wed, 2 Oct 2024 15:37:52 +0900 Subject: [PATCH] test --- .github/workflows/android.yml | 36 ++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index b3d374a..0850929 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -91,19 +91,37 @@ jobs: groups: testers file: app/build/outputs/apk/debug/app-debug.apk - - name: Check - run: | - if [ -f ./app/build/outputs/bundle/release/ ]; then - echo "File exists" - else - echo "File does not exist" - exit 1 - fi +# - name: Check +# run: | +# if [ -f ./app/build/outputs/bundle/release/ ]; then +# echo "File exists" +# else +# echo "File does not exist" +# exit 1 +# fi +# +# - name: Publish to Play Store +# uses: r0adkll/upload-google-play@v1 +# with: +# serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} +# packageName: com.nextroom.nextroom +# releaseFiles: app/build/outputs/bundle/release/app-release.aab +# track: production + + deploy: + name: Deploy aab to playstore + needs: build + runs-on: ubuntu-latest + steps: + - name: Download app bundle from artifact + uses: actions/download-artifact@v3 + with: + name: app-bundle - name: Publish to Play Store uses: r0adkll/upload-google-play@v1 with: serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} packageName: com.nextroom.nextroom - releaseFiles: app/build/outputs/bundle/release/app-release.aab + releaseFiles: ${{ github.workspace }}/app-release.aab track: production \ No newline at end of file