Skip to content

Commit

Permalink
ci(build): use correct JDK version
Browse files Browse the repository at this point in the history
There's no reasons to go higher than JDK 11 since we compile the application using JDK 11
  • Loading branch information
validcube committed Jul 10, 2023
1 parent 3bfdc93 commit 9a57f8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '11'
distribution: 'zulu'
cache: 'gradle'
- name: Setup Flutter
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- uses: actions/checkout@v3
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Set up JDK 12
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: "12"
java-version: "11"
distribution: "zulu"
- uses: subosito/flutter-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '11'
distribution: 'zulu'
cache: 'gradle'
- name: Setup Node.js
Expand Down

0 comments on commit 9a57f8b

Please sign in to comment.