1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-06 06:07:29 +02:00

fix: only pass in is_main flag to mobile build for zizmor (#19525)

This commit is contained in:
Zack Pollard
2025-06-25 16:53:08 +01:00
committed by GitHub
parent 027c4a8b34
commit afb444c92c

View File

@ -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