Skip to content

Commit 0e02111

Browse files
committed
Enable platforms
1 parent b3204c1 commit 0e02111

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

.github/workflows/app_facing_package.yaml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,17 @@ jobs:
157157
with:
158158
channel: 'stable'
159159

160+
# Enable platform support
161+
- name: Enable macOS
162+
run: flutter config --enable-macos-desktop
163+
working-directory: ${{env.source-directory}}
164+
160165
# Download all Flutter packages
161166
- name: Download dependencies
162167
run: flutter pub get
163168
working-directory: ${{env.source-directory}}
164169

165-
# Build iOS version of the example App
170+
# Build macOS version of the example App
166171
- name: Run macOS build
167172
run: flutter build macos --release
168173
working-directory: ${{env.example-directory}}
@@ -187,13 +192,18 @@ jobs:
187192
with:
188193
channel: 'stable'
189194

195+
# Enable platform support
196+
- name: Enable Windows
197+
run: flutter config --enable-windows-desktop
198+
working-directory: ${{env.source-directory}}
199+
190200
# Download all Flutter packages
191201
- name: Download dependencies
192202
run: flutter pub get
193203
working-directory: ${{env.source-directory}}
194204

195205
# Build iOS version of the example App
196-
- name: Run macOS build
206+
- name: Run Windows build
197207
run: flutter build windows --release
198208
working-directory: ${{env.example-directory}}
199209

@@ -217,13 +227,18 @@ jobs:
217227
with:
218228
channel: 'stable'
219229

230+
# Enable platform support
231+
- name: Enable Linux
232+
run: flutter config --enable-linux-desktop
233+
working-directory: ${{env.source-directory}}
234+
220235
# Download all Flutter packages
221236
- name: Download dependencies
222237
run: flutter pub get
223238
working-directory: ${{env.source-directory}}
224239

225240
# Build iOS version of the example App
226-
- name: Run macOS build
241+
- name: Run Linux build
227242
run: flutter build linux --release
228243
working-directory: ${{env.example-directory}}
229244

0 commit comments

Comments
 (0)