@@ -83,58 +83,10 @@ jobs:
8383 name : macos-build
8484 path : build/macos/Build/Products/Release/*.app
8585
86- build-linux :
87- name : Build and Release Linux
88- runs-on : ubuntu-latest
89- steps :
90- - uses : actions/checkout@v1
91-
92- - name : Setup Flutter
93- uses : subosito/flutter-action@v1
94- with :
95- channel : ' stable'
96-
97- - name : Get Flutter Dependencies
98- run : flutter pub get
99-
100- - name : Build Linux
101- run : flutter build linux --release
102-
103- - name : Upload Linux Build
104- if : success()
105- uses : actions/upload-artifact@v2
106- with :
107- name : linux-build
108- path : build/linux/Build/Products/Release/*
109-
110- build-web :
111- name : Build and Release Flutter Web
112- runs-on : ubuntu-latest
113- steps :
114- - uses : actions/checkout@v1
115-
116- - name : Setup Flutter
117- uses : subosito/flutter-action@v1
118- with :
119- channel : ' stable'
120-
121- - name : Get Flutter Dependencies
122- run : flutter pub get
123-
124- - name : Build Flutter Web
125- run : flutter build web --release
126-
127- - name : Upload Flutter Web Build
128- if : success()
129- uses : actions/upload-artifact@v2
130- with :
131- name : flutter-web-build
132- path : build/web
133-
13486 release :
13587 name : Create Release
13688 runs-on : ubuntu-latest
137- needs : [build-android, build-ios, build-macos, build-linux, build-web ]
89+ needs : [build-android, build-ios, build-macos]
13890 steps :
13991 - uses : actions/checkout@v1
14092
@@ -154,24 +106,12 @@ jobs:
154106 name : macos-build
155107 path : ./artifacts/macos
156108
157- - uses : actions/download-artifact@v2
158- with :
159- name : linux-build
160- path : ./artifacts/linux
161-
162- - uses : actions/download-artifact@v2
163- with :
164- name : flutter-web-build
165- path : ./artifacts/web
166-
167109 - name : Create Release
168110 uses : ncipollo/release-action@v1
169111 with :
170112 artifacts : |
171113 ./artifacts/android/*
172114 ./artifacts/ios/*
173115 ./artifacts/macos/*
174- ./artifacts/linux/*
175- ./artifacts/web/*
176116 tag : v1.0.${{ github.run_number }}
177117 token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments