Skip to content

Commit

Permalink
ci: only analyze example if Flutter channel is stable
Browse files Browse the repository at this point in the history
  • Loading branch information
hoc081098 committed Oct 3, 2022
1 parent c35cb26 commit 97cb1e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
- name: Install dependencies
run: flutter pub get

- name: Pub upgrade (if beta)
run: flutter pub upgrade
if: ${{ matrix.channel == 'beta' }}

- name: Format code
run: flutter format lib --set-exit-if-changed
if: ${{ matrix.channel == 'stable' }}
Expand Down

0 comments on commit 97cb1e7

Please sign in to comment.