Skip to content

Commit

Permalink
feat: test action
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoweii committed Oct 26, 2023
1 parent 91be12b commit 7f77393
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Flutter SDK Build for Android

on:
push:
branches: [ "*" ]
branches: [ "main" ]
pull_request:
branches: [ "main" ]

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/build-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Flutter SDK Build for iOS

on:
push:
branches: [ "*" ]
branches: [ "main" ]
pull_request:
branches: [ "main" ]

Expand All @@ -14,9 +14,6 @@ jobs:
- name: Initialize submodules
run: |
git submodule update --init
cd ios/Clickstream
git status
ls
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Flutter SDK Lint

on:
push:
branches: [ "*" ]
branches: [ "main" ]
pull_request:
branches: [ "main" ]

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Flutter SDK Test

on:
push:
branches: [ "main" ]
branches: [ "*" ]
pull_request:
branches: [ "main" ]

Expand All @@ -11,6 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Run test
run: |
flutter pub get
Expand Down

0 comments on commit 7f77393

Please sign in to comment.