Skip to content

Commit 58910c3

Browse files
authored
if: ${{ matrix.flutter-channel == 'stable' }}
1 parent 27e1474 commit 58910c3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/flutter.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,20 @@ jobs:
3636
run: flutter pub get
3737

3838
- name: Format code
39+
if: ${{ matrix.flutter-channel == 'stable' }}
3940
run: flutter format lib --set-exit-if-changed
4041

4142
- name: Analyze
43+
if: ${{ matrix.flutter-channel == 'stable' }}
4244
run: flutter analyze lib
4345

4446
- name: Gen code
45-
if: always()
4647
run: flutter packages pub run build_runner build --delete-conflicting-outputs
4748

4849
- name: Build APK
49-
if: always()
5050
run: flutter build apk --no-shrink
5151

5252
- name: Upload APK
53-
if: always()
5453
uses: actions/upload-artifact@v2
5554
with:
5655
name: app

0 commit comments

Comments
 (0)