Skip to content

Commit

Permalink
set ci java version to 17
Browse files Browse the repository at this point in the history
  • Loading branch information
Nika Hassani committed Apr 1, 2024
1 parent 00b2970 commit 278ebdb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # 3.12.0
with:
distribution: "corretto" # Amazon Corretto Build of OpenJDK
java-version: "11"
java-version: "17"

- name: Test
timeout-minutes: 10
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/amplify_canaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # 3.12.0
with:
distribution: "corretto" # Amazon Corretto Build of OpenJDK
java-version: "11"
java-version: "17"

- name: Build Canary (iOS)
run: build-support/build_canary.sh ios --no-codesign
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
- uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # 3.12.0
with:
distribution: "corretto" # Amazon Corretto Build of OpenJDK
java-version: "11"
java-version: "17"

# Must be run before `fetch_backends` so that `pubspec.lock` is present.
- name: Pub Upgrade
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # 3.12.0
with:
distribution: "corretto" # Amazon Corretto Build of OpenJDK
java-version: "11"
java-version: "17"

- name: Install dependencies
uses: ./.github/composite_actions/install_dependencies
Expand Down

0 comments on commit 278ebdb

Please sign in to comment.