Przeglądaj źródła

fix(ci): handle boolean build condition

Andelf 2 lat temu
rodzic
commit
dd7460f198
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      .github/workflows/build-android.yml

+ 1 - 1
.github/workflows/build-android.yml

@@ -105,7 +105,7 @@ jobs:
 
       - name: Set Build Environment Variables
         run: |
-          echo "ENABLE_FILE_SYNC_PRODUCTION=${{ inputs.enable-file-sync-production == 'true' || github.event.inputs.enable-file-sync-production == 'true' }}" >> $GITHUB_ENV
+          echo "ENABLE_FILE_SYNC_PRODUCTION=${{ inputs.enable-file-sync-production || github.event.inputs.enable-file-sync-production || inputs.build-target == '' }}" >> $GITHUB_ENV
 
       - name: Compile CLJS - android variant, use es6 instead of es-next
         run: yarn install && yarn release-android-app