2525 with :
2626 java-version : " 17"
2727 distribution : " temurin"
28- - uses : subosito/flutter-action@v2.19 .0
28+ - uses : subosito/flutter-action@v2.21 .0
2929 with :
3030 flutter-version-file : app/pubspec.yaml
31+ cache : true
3132 - name : 📦 Get dependencies
3233 run : |
3334 flutter clean
9495 with :
9596 name : apk-x86_64-build
9697 path : app/linwood-setonix-android-x86_64.apk
98+ - name : Copy Corepack
99+ run : |
100+ cp app/assets/pack.stnx core.stnx
101+ - name : Archive Corepack
102+ uses : actions/upload-artifact@v4
103+ with :
104+ name : corepack
105+ path : core.stnx
97106 build-windows :
98107 runs-on : windows-2025
99108 defaults :
@@ -106,9 +115,10 @@ jobs:
106115 run : |
107116 choco install yq
108117 choco install innosetup
109- - uses : subosito/flutter-action@v2.19 .0
118+ - uses : subosito/flutter-action@v2.21 .0
110119 with :
111120 flutter-version-file : app/pubspec.yaml
121+ cache : true
112122 - name : ✅ Enable platforms
113123 run : flutter config --enable-windows-desktop
114124 - name : 📦 Get dependencies
@@ -197,7 +207,7 @@ jobs:
197207 libsecret-1-dev \
198208 libjsoncpp-dev \
199209 rpm
200- - uses : subosito/flutter-action@v2.19 .0
210+ - uses : subosito/flutter-action@v2.21 .0
201211 with :
202212 flutter-version-file : app/pubspec.yaml
203213 channel : " master"
@@ -333,7 +343,7 @@ jobs:
333343 alien \
334344 libsecret-1-dev \
335345 libjsoncpp-dev
336- - uses : subosito/flutter-action@v2.19 .0
346+ - uses : subosito/flutter-action@v2.21 .0
337347 with :
338348 flutter-version-file : app/pubspec.yaml
339349 channel : " master"
@@ -405,9 +415,10 @@ jobs:
405415 steps :
406416 - name : ⬆️ Checkout
407417 uses : actions/checkout@v4
408- - uses : subosito/flutter-action@v2.19 .0
418+ - uses : subosito/flutter-action@v2.21 .0
409419 with :
410420 flutter-version-file : app/pubspec.yaml
421+ cache : true
411422 - uses : actions/setup-python@v5
412423 with :
413424 python-version : " 3.12"
@@ -464,9 +475,10 @@ jobs:
464475 steps :
465476 - name : ⬆️ Checkout
466477 uses : actions/checkout@v4
467- - uses : subosito/flutter-action@v2.19 .0
478+ - uses : subosito/flutter-action@v2.21 .0
468479 with :
469480 flutter-version-file : app/pubspec.yaml
481+ cache : true
470482 - name : 📦 Get dependencies
471483 run : |
472484 flutter clean
@@ -547,13 +559,13 @@ jobs:
547559 - name : Install tree
548560 if : ${{ matrix.os.name == 'macos-latest' }}
549561 run : brew install tree
550- - uses : subosito/flutter-action@v2.19 .0
562+ - uses : subosito/flutter-action@v2.21 .0
551563 with :
552564 flutter-version-file : app/pubspec.yaml
553- channel : ' master'
565+ channel : " master"
554566 cache : true
555- cache-key : ' flutter-:os:-:channel:-:version:-:arch:-:hash:'
556- cache-path : ' ${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:'
567+ cache-key : " flutter-:os:-:channel:-:version:-:arch:-:hash:"
568+ cache-path : " ${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:"
557569 - name : 📦 Get dependencies
558570 run : |
559571 flutter clean
@@ -635,6 +647,9 @@ jobs:
635647 - uses : actions/download-artifact@v4
636648 with :
637649 name : apk-x86_64-build
650+ - uses : actions/download-artifact@v4
651+ with :
652+ name : corepack
638653 - uses : actions/download-artifact@v4
639654 with :
640655 name : windows-build
@@ -765,6 +780,7 @@ jobs:
765780 linwood-setonix-server-linux-arm64.tar.gz
766781 linwood-setonix-server-windows-x86_64.zip
767782 linwood-setonix-server-macos.zip
783+ core.stnx
768784 checksums.txt
769785 env :
770786 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -798,6 +814,7 @@ jobs:
798814 linwood-setonix-server-linux-arm64.tar.gz
799815 linwood-setonix-server-windows-x86_64.zip
800816 linwood-setonix-server-macos.zip
817+ core.stnx
801818 checksums.txt
802819 env :
803820 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -829,6 +846,7 @@ jobs:
829846 linwood-setonix-server-linux-arm64.tar.gz
830847 linwood-setonix-server-windows-x86_64.zip
831848 linwood-setonix-server-macos.zip
849+ core.stnx
832850 checksums.txt
833851 env :
834852 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -865,9 +883,10 @@ jobs:
865883 with :
866884 java-version : " 17"
867885 distribution : " temurin"
868- - uses : subosito/flutter-action@v2.19 .0
886+ - uses : subosito/flutter-action@v2.21 .0
869887 with :
870888 flutter-version-file : app/pubspec.yaml
889+ cache : true
871890 - name : Build nessesary files
872891 working-directory : ./
873892 run : |
0 commit comments