@@ -134,31 +134,31 @@ jobs:
134
134
token : ${{ secrets.TOKEN }}
135
135
allowUpdates : true
136
136
137
- # windows:
138
- # name: Windows
139
- # runs-on: windows-latest
140
- # steps:
141
- # - name: Set up Flutter
142
- # uses: subosito/flutter-action@v2
143
- # with:
144
- # flutter-version: '3.22.2'
145
- # channel: ' stable'
146
-
147
- # - uses: actions/checkout@v4
148
- # with:
149
- # path: ' app'
150
-
151
- # - run: |
152
- # cd app
153
- # flutter config --enable-windows-desktop
154
- # flutter pub get
155
- # flutter build windows --release
156
- # cd build\windows\runner
157
- # Compress-Archive -Path Release -DestinationPath windows-release.zip
158
-
159
- # - name: Windows release build for github
160
- # uses: ncipollo/release-action@v1
161
- # with:
162
- # artifacts: 'app\build\windows\runner\windows-release.zip'
163
- # token: ${{ secrets.TOKEN }}
164
- # allowUpdates: true
137
+ windows :
138
+ name : Windows
139
+ runs-on : windows-latest
140
+ steps :
141
+ - name : Set up Flutter
142
+ uses : subosito/flutter-action@v2
143
+ with :
144
+ flutter-version : " 3.24.4 "
145
+ channel : " stable"
146
+
147
+ - uses : actions/checkout@v4
148
+ with :
149
+ path : " app"
150
+
151
+ - run : |
152
+ cd app
153
+ flutter config --enable-windows-desktop
154
+ flutter pub get
155
+ flutter build windows --release
156
+ cd build\windows\x64 \runner
157
+ Compress-Archive -Path Release -DestinationPath windows-release.zip
158
+
159
+ - name : Windows release build for github
160
+ uses : ncipollo/release-action@v1
161
+ with :
162
+ artifacts : ' app\build\windows\runner\windows-release.zip'
163
+ token : ${{ secrets.TOKEN }}
164
+ allowUpdates : true
0 commit comments