Skip to content

Commit

Permalink
👷 Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Nov 5, 2021
1 parent 2858cda commit 368f2c1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 20 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build test

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:

jobs:
test_iOS:
Expand All @@ -21,6 +25,8 @@ jobs:
- run: flutter --version
- run: flutter pub get
- run: flutter analyze lib example/lib
- run: flutter pub publish --dry-run
- run: flutter test test
- run: cd example; flutter build ios --no-codesign

test_android:
Expand All @@ -41,5 +47,7 @@ jobs:
- run: flutter --version
- run: flutter pub get
- run: flutter analyze lib example/lib
- run: flutter pub publish --dry-run
- run: flutter test test
- run: sudo echo "y" | sudo $ANDROID_HOME/tools/bin/sdkmanager "ndk;20.0.5594570"
- run: cd example; flutter build apk --debug
19 changes: 0 additions & 19 deletions .github/workflows/pub_dry_run.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/pub_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Pub Publish plugin
on:
release:
types: [published]
workflow_dispatch:

jobs:
publish:
Expand Down

0 comments on commit 368f2c1

Please sign in to comment.