Skip to content

Commit

Permalink
Create App Release through Github Action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
swap-musale committed Aug 21, 2023
1 parent b9ce4aa commit 1ef2520
Showing 1 changed file with 26 additions and 9 deletions.
35 changes: 26 additions & 9 deletions .github/workflows/android_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,30 @@ jobs:
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}

- name: Deploy to Play Store
id: deploy
uses: r0adkll/upload-google-play@v1.1.1
# - name: Deploy to Play Store
# id: deploy
# uses: r0adkll/upload-google-play@v1.1.1
# with:
# serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
# packageName: com.devx.jetjoke
# releaseFiles: app/build/outputs/bundle/release/app-release.aab
# track: production
# status: completed
# inAppUpdatePriority: 2

- name: Upload Release Build
uses: actions/upload-artifact@v3
with:
name: release-artifacts
paths: |
app/build/outputs/apk/release/
app/build/outputs/bundle/release/
- name: Create Github Release
uses: softprops/action-gh-release@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: com.devx.jetjoke
releaseFiles: app/build/outputs/bundle/release/app-release.aab
track: production
status: completed
inAppUpdatePriority: 2
generate_release_notes: true
prerelease: false
files: |
app/build/outputs/apk/release/app-release.apk
app/build/outputs/bundle/release/app-release.aab

0 comments on commit 1ef2520

Please sign in to comment.