瀏覽代碼

fix(ci): handle boolean build condition

Andelf 3 年之前
父節點
當前提交
dd7460f198
共有 1 個文件被更改,包括 1 次插入1 次删除
  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