Skip to content

Commit 9cf0e40

Browse files
authored
Fix Web Example build due to min. Dart version (#1299)
1 parent 69670c9 commit 9cf0e40

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/dart.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ jobs:
5757
dart pub get
5858
dart compile exe bin/example.dart
5959
60-
# if condition because of: The pubspec.lock file has changed since the .dart_tool/package_config.json file was generated, please run "pub get" again.
60+
# Windows if condition because of: The pubspec.lock file has changed since the .dart_tool/package_config.json file was generated, please run "pub get" again.
61+
# stable if condition because of: beta channel requires newer build_web_compilers and build_runner with Dart 3
6162
- name: Build Web example
62-
if: runner.os != 'Windows'
63+
if: runner.os != 'Windows' && matrix.sdk == 'stable'
6364
run: |
6465
cd example_web
6566
dart pub get

0 commit comments

Comments
 (0)