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 35f4113 commit 67d5225
Showing 1 changed file with 20 additions and 29 deletions.
49 changes: 20 additions & 29 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
run: ./gradlew assembleDebug --stacktrace

- name: Build assemble release apk
run: ./gradlew assembleRelease --stacktrace
run: ./gradlew bundleRelease --stacktrace

- name: Upload Debug APK
uses: actions/upload-artifact@v3
Expand All @@ -91,37 +91,28 @@ 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: 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
# 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: ${{ github.workspace }}/app-release.aab
track: production
# releaseFiles: ${{ github.workspace }}/app-release.aab
# track: production

0 comments on commit 67d5225

Please sign in to comment.