Skip to content

Commit

Permalink
ci: do not run gradlew bundleRelease on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
scribam committed Sep 8, 2024
1 parent b532333 commit 5c02572
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,19 @@ jobs:
gradlePath: shell/android-studio/flycast/build.gradle
versionCode: ${{ github.run_number }}

- name: Gradle
- name: Gradle assembleRelease
working-directory: shell/android-studio
run: ./gradlew assembleRelease bundleRelease --parallel
run: ./gradlew assembleRelease --parallel
env:
SENTRY_UPLOAD_URL: ${{ secrets.SENTRY_UPLOAD_URL }}

- name: Gradle bundleRelease
working-directory: shell/android-studio
run: ./gradlew bundleRelease --parallel
env:
SENTRY_UPLOAD_URL: ${{ secrets.SENTRY_UPLOAD_URL }}
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}
if: github.repository == 'flyinghead/flycast' && github.event_name == 'push'

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 5c02572

Please sign in to comment.