Skip to content

Commit

Permalink
Refactor ci to have flutter version fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgomezrico committed Jan 17, 2022
1 parent 9652254 commit 4a65064
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Android CI test
name: Android Unit Test

on:
push:
Expand All @@ -24,11 +24,16 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
- uses: subosito/flutter-action@v2
with:
channel: 'dev'
flutter-version: '2.8.1'
channel: 'stable'
cache: true
cache-key: flutter # optional, change this to force refresh cache
cache-path: ${{ runner.tool_cache }}/flutter # optional, change this to specify the cache path

- run: flutter pub get
- run: flutter build appbundle

- uses: gradle/gradle-build-action@v2
with:
arguments: test
Expand Down

0 comments on commit 4a65064

Please sign in to comment.