Просмотр исходного кода

change steps

Signed-off-by: DerSkythe <skif@skif.ws>
DerSkythe 2 лет назад
Родитель
Сommit
56c26178cb
1 измененных файлов с 10 добавлено и 10 удалено
  1. 10 10
      .github/workflows/build-with-firmwware.yml

+ 10 - 10
.github/workflows/build-with-firmwware.yml

@@ -136,16 +136,6 @@ jobs:
       #        # An explicit key for restoring and saving the cache
       #        # An explicit key for restoring and saving the cache
       #        key: 'fbt=${{ env.FIRMWARE_VERSION }}'
       #        key: 'fbt=${{ env.FIRMWARE_VERSION }}'
       #
       #
-      - name: Build Firmware
-        shell: bash
-        if: ${{ success() }}
-        env:
-          FBT_NO_SYNC: 0
-          DIST_SUFFIX: ${{ matrix.version }}
-          WORKFLOW_BRANCH_OR_TAG: release-cfw
-        run: |
-          ./fbt COMPACT=1 DEBUG=0 FBT_NO_SYNC=0
-
       - name: Remove other apps
       - name: Remove other apps
         shell: bash
         shell: bash
         if: ${{ success() }}
         if: ${{ success() }}
@@ -159,6 +149,16 @@ jobs:
           mv -f ./tmp/* ./applications/external/
           mv -f ./tmp/* ./applications/external/
           rm -Rf ./tmp/
           rm -Rf ./tmp/
 
 
+      - name: Build Firmware
+        shell: bash
+        if: ${{ success() }}
+        env:
+          FBT_NO_SYNC: 0
+          DIST_SUFFIX: ${{ matrix.version }}
+          WORKFLOW_BRANCH_OR_TAG: release-cfw
+        run: |
+          ./fbt COMPACT=1 DEBUG=0 FBT_NO_SYNC=0
+
       - name: Build FAPs
       - name: Build FAPs
         shell: bash
         shell: bash
         if: ${{ success() }}
         if: ${{ success() }}