1
0
Эх сурвалжийг харах

fix(build): rm build flags

Andelf 3 жил өмнө
parent
commit
fb98531c1c

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

@@ -19,11 +19,6 @@ on:
         description: "Build from Git Ref(master)"
         description: "Build from Git Ref(master)"
         required: true
         required: true
         default: "master"
         default: "master"
-      enable-file-sync:
-        description: 'Build with file sync support'
-        type: boolean
-        required: true
-        default: false
       enable-file-sync-production:
       enable-file-sync-production:
         description: 'File sync production mode'
         description: 'File sync production mode'
         type: boolean
         type: boolean
@@ -34,9 +29,6 @@ on:
       build-target:
       build-target:
         type: string
         type: string
         required: true
         required: true
-      enable-file-sync:
-        description: 'Build with file sync support'
-        type: boolean
       enable-file-sync-production:
       enable-file-sync-production:
         description: 'File sync production mode'
         description: 'File sync production mode'
         type: boolean
         type: boolean
@@ -111,7 +103,6 @@ jobs:
 
 
       - name: Set Build Environment Variables
       - name: Set Build Environment Variables
         run: |
         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
           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
       - 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
         type: boolean
         required: true
         required: true
         default: true
         default: true
-      enable-file-sync:
-        description: 'Build with file sync support'
-        type: boolean
-        required: true
-        default: false
       enable-file-sync-production:
       enable-file-sync-production:
         description: 'File sync production mode'
         description: 'File sync production mode'
         type: boolean
         type: boolean
@@ -128,7 +123,6 @@ jobs:
       - name: Set Build Environment Variables (only when workflow_dispath)
       - name: Set Build Environment Variables (only when workflow_dispath)
         if: ${{ github.event_name == 'workflow_dispatch' }}
         if: ${{ github.event_name == 'workflow_dispatch' }}
         run: |
         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_PLUGINS=${{ github.event.inputs.enable-plugins }}" >> $GITHUB_ENV
           echo "ENABLE_FILE_SYNC_PRODUCTION=${{ github.event.inputs.enable-file-sync-production }}" >> $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' }}
     if: ${{ github.event_name == 'schedule' || github.event.inputs.build-android == 'true' }}
     with:
     with:
       build-target: "${{ github.event.inputs.build-target }}"
       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' }}"
       enable-file-sync-production: "${{ github.event.inputs.enable-file-sync-production == 'true' }}"
     secrets:
     secrets:
       ANDROID_KEYSTORE: "${{ secrets.ANDROID_KEYSTORE }}"
       ANDROID_KEYSTORE: "${{ secrets.ANDROID_KEYSTORE }}"