Skip to content

Commit

Permalink
[ADD] Google Play deployment on failure step
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyalehchylin committed Apr 28, 2023
1 parent 0c0858a commit c40dcbc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ jobs:
uses: actions/download-artifact@v3.0.2

- name: Google Play Deploy
id: google_play_deploy
uses: r0adkll/upload-google-play@v1.1.1
with:
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_API_JSON_PLAIN }}
Expand All @@ -248,6 +249,16 @@ jobs:
changesNotSentForReview: true
status: draft

- name: Google Play Deploy On Failure
uses: r0adkll/upload-google-play@v1.1.1
if: always() && steps.google_play_deploy.outcome == 'failure'
with:
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_API_JSON_PLAIN }}
packageName: by.bntu.educats
releaseFiles: ./*.aab/*.aab
track: beta
status: draft

deploy_appstore:
runs-on: macos-latest
environment: github-actions-release
Expand Down

0 comments on commit c40dcbc

Please sign in to comment.