mirror of https://github.com/apache/druid.git
Use built-in java rather than spending time to install (#13834)
Co-authored-by: Elliott Freis <elliottfreis@Elliott-Freis.earth.dynamic.blacklight.net>
This commit is contained in:
parent
f7a5fcf30f
commit
471cb82af3
|
@ -56,10 +56,7 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup java
|
- name: Setup java
|
||||||
uses: actions/setup-java@v3
|
run: export JAVA_HOME=$JAVA_HOME_${{ inputs.build_jdk }}_X64
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: ${{ inputs.build_jdk }}
|
|
||||||
|
|
||||||
- name: Restore Maven repository
|
- name: Restore Maven repository
|
||||||
id: maven-restore
|
id: maven-restore
|
||||||
|
|
|
@ -63,10 +63,7 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup java
|
- name: Setup java
|
||||||
uses: actions/setup-java@v3
|
run: export JAVA_HOME=$JAVA_HOME_${{ inputs.runtime_jdk }}_X64
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: ${{ inputs.runtime_jdk }}
|
|
||||||
|
|
||||||
- name: Restore Maven repository
|
- name: Restore Maven repository
|
||||||
id: maven-restore
|
id: maven-restore
|
||||||
|
|
|
@ -54,10 +54,7 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: setup jdk${{ inputs.jdk }}
|
- name: setup jdk${{ inputs.jdk }}
|
||||||
uses: actions/setup-java@v3
|
run: export JAVA_HOME=$JAVA_HOME_${{ inputs.jdk }}_X64
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: ${{ inputs.jdk }}
|
|
||||||
|
|
||||||
- name: Restore Maven repository
|
- name: Restore Maven repository
|
||||||
id: maven-restore
|
id: maven-restore
|
||||||
|
|
|
@ -117,10 +117,7 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup java
|
- name: Setup java
|
||||||
uses: actions/setup-java@v3
|
run: export JAVA_HOME=$JAVA_HOME_8_X64
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: 8
|
|
||||||
|
|
||||||
- name: Restore Maven repository
|
- name: Restore Maven repository
|
||||||
id: maven-restore
|
id: maven-restore
|
||||||
|
|
|
@ -51,11 +51,7 @@ jobs:
|
||||||
echo "java_version=${jdk:3}" >> $GITHUB_ENV
|
echo "java_version=${jdk:3}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: setup ${{ matrix.java }}
|
- name: setup ${{ matrix.java }}
|
||||||
uses: actions/setup-java@v3
|
run: export JAVA_HOME=$JAVA_HOME_${{ env.java_version }}_X64
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: ${{ env.java_version }}
|
|
||||||
cache: 'maven'
|
|
||||||
|
|
||||||
- name: packaging check
|
- name: packaging check
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -57,10 +57,7 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup java
|
- name: Setup java
|
||||||
uses: actions/setup-java@v3
|
run: export JAVA_HOME=$JAVA_HOME_${{ matrix.jdk }}_X64
|
||||||
with:
|
|
||||||
distribution: 'zulu'
|
|
||||||
java-version: ${{ matrix.jdk }}
|
|
||||||
|
|
||||||
- name: Cache Maven m2 repository
|
- name: Cache Maven m2 repository
|
||||||
id: maven
|
id: maven
|
||||||
|
|
Loading…
Reference in New Issue