ci(build): use correct JDK version

There's no reasons to go higher than JDK 11 since we compile the application using JDK 11
This commit is contained in:
Pun Butrach 2023-07-10 21:37:02 +07:00
parent 3bfdc932c2
commit 9a57f8b858
No known key found for this signature in database
GPG Key ID: 5F47D61B676D07F6
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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:

View File

@ -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