Skip to content

Commit

Permalink
install java17 on github actions runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Peetee06 committed Sep 11, 2024
1 parent 3409098 commit 1601e21
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ jobs:
run: flutter analyze --fatal-infos --fatal-warnings
working-directory: my_app

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'

- name: Build app
run: flutter build appbundle --flavor production --target lib/main_production.dart
working-directory: my_app
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ jobs:
run: flutter test
working-directory: my_app

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'

- name: Analyze files
run: flutter build appbundle
working-directory: my_app
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ jobs:
run: flutter analyze --fatal-infos --fatal-warnings
working-directory: my_app

- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'

- name: Build app
run: flutter build appbundle --flavor production --target lib/main_production.dart
working-directory: my_app

0 comments on commit 1601e21

Please sign in to comment.