File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,20 +17,13 @@ jobs:
1717 - name : Checkout Repository
1818 uses : actions/checkout@v4
1919
20- # Note: This workflow uses the latest stable version of the Dart SDK.
21- # You can specify other versions if desired, see documentation here:
22- # https://github.com/dart-lang/setup-dart/blob/main/README.md
23- # - uses: dart-lang/setup-dart@v1
2420 - name : Set up Flutter
25- uses : dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
21+ uses : subosito/flutter-action@v2
22+ with :
23+ flutter-version : " stable"
2624
2725 - name : Install dependencies
28- run : dart pub get
29-
30- # Consider passing '--fatal-infos' for slightly stricter analysis.
31- - name : Analyze project source
32- run : dart analyze
33-
26+ run : flutter pub get
3427
3528 - name : Build Web
3629 run : flutter build web --release --base-href "/Polizei-Flutter-Template/"
3932 # package:test for this step to succeed. Note that Flutter projects will
4033 # want to change this to 'flutter test'.
4134 - name : Run tests
42- run : dart test
35+ run : flutter test
4336
4437 - name : Deploy to GitHub Pages
4538 uses : peaceiris/actions-gh-pages@v3
You can’t perform that action at this time.
0 commit comments