Update build.yml

This commit is contained in:
droplet 2023-05-29 15:02:41 +08:00 committed by GitHub
parent e014c48659
commit 86a5ee73fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ jobs:
- run: clang-format -style=file -i ios/Classes/*.h ios/Classes/*.m --dry-run --Werror - run: clang-format -style=file -i ios/Classes/*.h ios/Classes/*.m --dry-run --Werror
- run: flutter --version - run: flutter --version
- run: flutter pub get - run: flutter pub get
- run: flutter format --dry-run --set-exit-if-changed . - run: dart format --set-exit-if-changed .
- run: flutter pub publish --dry-run - run: flutter pub publish --dry-run
- run: flutter analyze lib example/lib - run: flutter analyze lib example/lib
- run: cd example; flutter build ios --no-codesign - run: cd example; flutter build ios --no-codesign
@ -43,7 +43,7 @@ jobs:
channel: 'stable' channel: 'stable'
- run: flutter --version - run: flutter --version
- run: flutter pub get - run: flutter pub get
- run: flutter format --dry-run --set-exit-if-changed . - run: dart format --set-exit-if-changed .
- run: flutter pub publish --dry-run - run: flutter pub publish --dry-run
- run: flutter analyze lib example/lib - run: flutter analyze lib example/lib
- run: cd example; flutter build apk --debug - run: cd example; flutter build apk --debug