File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Flutter Build(PR)
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+
7+ jobs :
8+ build-windows :
9+ name : Build Windows App
10+ runs-on : windows-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ - name : Setup Flutter
15+ uses : subosito/flutter-action@v2
16+ with :
17+ channel : stable
18+ flutter-version : ' 3.35.5'
19+
20+ - run : flutter pub get
21+ - run : flutter build windows
22+
23+ - uses : actions/upload-artifact@v4
24+ with :
25+ name : windows-build
26+ path : build/windows/x64/runner/Release
27+
28+ build-web :
29+ name : Build Flutter Web
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/checkout@v4
33+ - uses : subosito/flutter-action@v2
34+ with :
35+ flutter-version : ' 3.35.5'
36+ - run : flutter pub get
37+ - run : flutter build web --release
38+ - uses : actions/upload-artifact@v4
39+ with :
40+ name : web-build
41+ path : build/web
You can’t perform that action at this time.
0 commit comments