@@ -88,15 +88,17 @@ jobs:
8888 name : apk-x86_64-build
8989 path : app/linwood-flow-android-x86_64.apk
9090 build-windows :
91- runs-on : windows-2022
91+ runs-on : windows-2025
9292 defaults :
9393 run :
9494 working-directory : app
9595 steps :
9696 - name : ⬆️ Checkout
9797 uses : actions/checkout@v4
9898 - name : Make yq tool available on Windows runners
99- run : choco install yq
99+ run : |
100+ choco install yq
101+ choco install innosetup
100102 -
uses :
subosito/[email protected] 101103 with :
102104 flutter-version-file : app/pubspec.yaml
@@ -189,7 +191,9 @@ jobs:
189191 cache-key : ' flutter-:os:-:channel:-:version:-:arch:-:hash:'
190192 cache-path : ' ${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'
191193 - name : ✅ Enable platforms
192- run : flutter config --enable-linux-desktop
194+ run : |
195+ rm -f "$(dirname "$(dirname "$(command -v flutter)")")/engine/src/.gn"
196+ flutter config --enable-linux-desktop
193197 - name : 📦 Get dependencies
194198 run : |
195199 flutter clean
@@ -208,6 +212,10 @@ jobs:
208212 - name : 🏭 Make binary executable
209213 run : |
210214 chmod +x build/linux/${{ matrix.arch.dir }}/release/bundle/flow
215+ - name : Update files to arm64
216+ if : ${{ matrix.arch.name == 'arm64' }}
217+ run : |
218+ sed -i 's/^Architecture: amd64/Architecture: arm64/' linux/debian/DEBIAN/control
211219 - name : Build .deb executable
212220 run : |
213221 cp -fr build/linux/${{ matrix.arch.dir }}/release/bundle linux/debian/usr/bin
@@ -312,7 +320,9 @@ jobs:
312320 cache-key : ' flutter-:os:-:channel:-:version:-:arch:-:hash:'
313321 cache-path : ' ${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'
314322 - name : ✅ Enable platforms
315- run : flutter config --enable-linux-desktop
323+ run : |
324+ rm -f "$(dirname "$(dirname "$(command -v flutter)")")/engine/src/.gn"
325+ flutter config --enable-linux-desktop
316326 - name : 📦 Get dependencies
317327 run : |
318328 flutter clean
@@ -560,7 +570,9 @@ jobs:
560570 name : ipa-build
561571 - name : 📦 Zip artifacts
562572 run : |
563- zip -r linwood-flow-windows-x86_64.zip windows-build/*
573+ cd windows-build
574+ zip -r ../linwood-flow-windows-x86_64.zip *
575+ cd ..
564576 tar -C linux-x86_64-build -czf linwood-flow-linux-x86_64.tar.gz .
565577 tar -C linux-arm64-build -czf linwood-flow-linux-arm64.tar.gz .
566578 tar -C linux-x86_64-alternative-build -czf linwood-flow-linux-alternative-x86_64.tar.gz .
0 commit comments