Skip to content

Commit

Permalink
Build debug builds on test branches and forks
Browse files Browse the repository at this point in the history
  • Loading branch information
hufman committed Feb 14, 2024
1 parent c03d17d commit 09964fe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ jobs:
- name: Extract signing key
run: "echo '${{ secrets.KEYSTORE_BASE64 }}' | base64 -d > keystore.jks"

- name: Build the project
- name: Build the project (debug mode)
if: github.repository != 'BimmerGestalt/AAIdrive' || github.ref != "refs/heads/main"
run: ./gradlew assembleDebug

- name: Build the project (release mode)
if: github.repository == 'BimmerGestalt/AAIdrive' && github.ref == "refs/heads/main"
run: ./gradlew assembleRelease
env:
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
Expand Down

0 comments on commit 09964fe

Please sign in to comment.