From c40dcbc2c4f07c5d9bd488bf5fd488ffcb729182 Mon Sep 17 00:00:00 2001 From: Ilya Lehchylin Date: Fri, 28 Apr 2023 17:53:44 +0300 Subject: [PATCH] [ADD] Google Play deployment on failure step --- .github/workflows/pre-release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index dd5b5bd6..4aea74c0 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -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 }} @@ -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