Skip to content

Commit

Permalink
fix: package build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
drochetti committed Nov 5, 2023
1 parent 514420d commit ba7f173
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,20 @@ jobs:

- name: Install dependencies
run: dart pub get

- name: Check format
run: dart format --set-exit-if-changed lib/

- name: Build library
run: dart compile exe bin/main.dart
- name: Analyze code
run: dart analyze lib/

- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
channel: 'stable'

- name: Build example app
run: dart compile exe example/main.dart
run: |
cd example/
flutter pub get
flutter build web --release
3 changes: 0 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@ topics:

environment:
sdk: '>=3.1.5 <4.0.0'
flutter: '>=1.17.0'

dependencies:
cross_file: ^0.3.3+6
flutter:
sdk: flutter
http: ^1.1.0
platform: ^3.1.3

Expand Down

0 comments on commit ba7f173

Please sign in to comment.