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