浏览代码

fix(build): rm build flags

Andelf 3 年之前
父节点
当前提交
fb98531c1c
共有 2 个文件被更改,包括 0 次插入16 次删除
  1. 0 9
      .github/workflows/build-android.yml
  2. 0 7
      .github/workflows/build-desktop-release.yml

+ 0 - 9
.github/workflows/build-android.yml

@@ -19,11 +19,6 @@ on:
         description: "Build from Git Ref(master)"
         required: true
         default: "master"
-      enable-file-sync:
-        description: 'Build with file sync support'
-        type: boolean
-        required: true
-        default: false
       enable-file-sync-production:
         description: 'File sync production mode'
         type: boolean
@@ -34,9 +29,6 @@ on:
       build-target:
         type: string
         required: true
-      enable-file-sync:
-        description: 'Build with file sync support'
-        type: boolean
       enable-file-sync-production:
         description: 'File sync production mode'
         type: boolean
@@ -111,7 +103,6 @@ jobs:
 
       - name: Set Build Environment Variables
         run: |
-          echo "ENABLE_FILE_SYNC=${{ inputs.enable-file-sync == 'true' || github.event.inputs.enable-file-sync == 'true' }}" >> $GITHUB_ENV
           echo "ENABLE_FILE_SYNC_PRODUCTION=${{ inputs.enable-file-sync-production == 'true' || github.event.inputs.enable-file-sync-production == 'true' }}" >> $GITHUB_ENV
 
       - name: Compile CLJS - android variant, use es6 instead of es-next

+ 0 - 7
.github/workflows/build-desktop-release.yml

@@ -28,11 +28,6 @@ on:
         type: boolean
         required: true
         default: true
-      enable-file-sync:
-        description: 'Build with file sync support'
-        type: boolean
-        required: true
-        default: false
       enable-file-sync-production:
         description: 'File sync production mode'
         type: boolean
@@ -128,7 +123,6 @@ jobs:
       - name: Set Build Environment Variables (only when workflow_dispath)
         if: ${{ github.event_name == 'workflow_dispatch' }}
         run: |
-          echo "ENABLE_FILE_SYNC=${{ github.event.inputs.enable-file-sync }}" >> $GITHUB_ENV
           echo "ENABLE_PLUGINS=${{ github.event.inputs.enable-plugins }}" >> $GITHUB_ENV
           echo "ENABLE_FILE_SYNC_PRODUCTION=${{ github.event.inputs.enable-file-sync-production }}" >> $GITHUB_ENV
 
@@ -432,7 +426,6 @@ jobs:
     if: ${{ github.event_name == 'schedule' || github.event.inputs.build-android == 'true' }}
     with:
       build-target: "${{ github.event.inputs.build-target }}"
-      enable-file-sync: "${{ github.event.inputs.enable-file-sync == 'true' }}"
       enable-file-sync-production: "${{ github.event.inputs.enable-file-sync-production == 'true' }}"
     secrets:
       ANDROID_KEYSTORE: "${{ secrets.ANDROID_KEYSTORE }}"