Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sirily11 committed Jan 1, 2020
2 parents 34da9f6 + 265289b commit 9e1ca91
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,18 @@ name: Flutter test
on: [push]

jobs:
build:
test:
runs-on: ubuntu-latest

strategy:
matrix:
flutter: ["dev", "stable", "beta"]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v1
with:
flutter-version: "1.9.1+hotfix.2"
channel: ${{ matrix.flutter }}
- run: flutter pub get
- run: flutter test
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9e1ca91

Please sign in to comment.