mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix: only pass in is_main flag to mobile build for zizmor (#19525)
This commit is contained in:
parent
027c4a8b34
commit
afb444c92c
1 changed files with 2 additions and 1 deletions
3
.github/workflows/build-mobile.yml
vendored
3
.github/workflows/build-mobile.yml
vendored
|
|
@ -125,8 +125,9 @@ jobs:
|
|||
ALIAS: ${{ secrets.ALIAS }}
|
||||
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD }}
|
||||
ANDROID_STORE_PASSWORD: ${{ secrets.ANDROID_STORE_PASSWORD }}
|
||||
IS_MAIN: ${{ github.ref == 'refs/heads/main' }}
|
||||
run: |
|
||||
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
|
||||
if [[ $IS_MAIN == 'true' ]]; then
|
||||
flutter build apk --release
|
||||
flutter build apk --release --split-per-abi --target-platform android-arm,android-arm64,android-x64
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue