Skip to content

Commit

Permalink
edit tests java version
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmer committed Oct 16, 2024
1 parent 32b4394 commit a4576c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/flutter_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ jobs:
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
java-version: '17.0.11'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.24.3'
- run: "flutter --version"
- run: "flutter pub get"
- run: "flutter gen-l10n"
- run: "flutter build ios -t 'lib/mains/main_netknights.dart' --debug --flavor netknights --no-codesign"

build_appbundle:
Expand All @@ -47,13 +48,14 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '17'
distribution: 'zulu'
java-version: '17.0.11'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: '3.24.3'
- run: 'flutter clean'
- run: "flutter --version"
- run: "flutter pub get"
- run: "flutter gen-l10n"
- run: "flutter build apk -t 'lib/mains/main_netknights.dart' --debug --flavor netknights"
2 changes: 1 addition & 1 deletion .github/workflows/flutter_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17.0.7'
java-version: '17.0.11'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
Expand Down

0 comments on commit a4576c8

Please sign in to comment.