mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-28 04:43:33 -06:00
[Actions] Use JDK 11.
This commit is contained in:
parent
c88056ddb9
commit
e2bf48d1b6
8
.github/workflows/build-nightly-apk.yml
vendored
8
.github/workflows/build-nightly-apk.yml
vendored
@ -51,10 +51,12 @@ jobs:
|
|||||||
androidHome: ${{ env.ANDROID_HOME }}
|
androidHome: ${{ env.ANDROID_HOME }}
|
||||||
androidSdkRoot: ${{ env.ANDROID_SDK_ROOT }}
|
androidSdkRoot: ${{ env.ANDROID_SDK_ROOT }}
|
||||||
steps:
|
steps:
|
||||||
- name: Setup JDK 1.8
|
- name: Setup JDK 11
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
distribution: 'zulu'
|
||||||
|
java-version: '11'
|
||||||
|
cache: 'gradle'
|
||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
uses: android-actions/setup-android@v2
|
uses: android-actions/setup-android@v2
|
||||||
- name: Clean build artifacts
|
- name: Clean build artifacts
|
||||||
|
8
.github/workflows/build-release-aab-play.yml
vendored
8
.github/workflows/build-release-aab-play.yml
vendored
@ -43,10 +43,12 @@ jobs:
|
|||||||
androidHome: ${{ env.ANDROID_HOME }}
|
androidHome: ${{ env.ANDROID_HOME }}
|
||||||
androidSdkRoot: ${{ env.ANDROID_SDK_ROOT }}
|
androidSdkRoot: ${{ env.ANDROID_SDK_ROOT }}
|
||||||
steps:
|
steps:
|
||||||
- name: Setup JDK 1.8
|
- name: Setup JDK 11
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
distribution: 'zulu'
|
||||||
|
java-version: '11'
|
||||||
|
cache: 'gradle'
|
||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
uses: android-actions/setup-android@v2
|
uses: android-actions/setup-android@v2
|
||||||
- name: Clean build artifacts
|
- name: Clean build artifacts
|
||||||
|
8
.github/workflows/build-release-apk.yml
vendored
8
.github/workflows/build-release-apk.yml
vendored
@ -43,10 +43,12 @@ jobs:
|
|||||||
androidHome: ${{ env.ANDROID_HOME }}
|
androidHome: ${{ env.ANDROID_HOME }}
|
||||||
androidSdkRoot: ${{ env.ANDROID_SDK_ROOT }}
|
androidSdkRoot: ${{ env.ANDROID_SDK_ROOT }}
|
||||||
steps:
|
steps:
|
||||||
- name: Setup JDK 1.8
|
- name: Setup JDK 11
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
distribution: 'zulu'
|
||||||
|
java-version: '11'
|
||||||
|
cache: 'gradle'
|
||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
uses: android-actions/setup-android@v2
|
uses: android-actions/setup-android@v2
|
||||||
- name: Clean build artifacts
|
- name: Clean build artifacts
|
||||||
|
Loading…
Reference in New Issue
Block a user