Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
byungtak-lee committed Oct 2, 2024
1 parent 431a2a3 commit 35f4113
Showing 1 changed file with 27 additions and 9 deletions.
36 changes: 27 additions & 9 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 35f4113

Please sign in to comment.