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
|
||||
|
||||
- name: Setup java
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: ${{ inputs.build_jdk }}
|
||||
run: export JAVA_HOME=$JAVA_HOME_${{ inputs.build_jdk }}_X64
|
||||
|
||||
- name: Restore Maven repository
|
||||
id: maven-restore
|
||||
|
|
|
@ -63,10 +63,7 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup java
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: ${{ inputs.runtime_jdk }}
|
||||
run: export JAVA_HOME=$JAVA_HOME_${{ inputs.runtime_jdk }}_X64
|
||||
|
||||
- name: Restore Maven repository
|
||||
id: maven-restore
|
||||
|
|
|
@ -54,10 +54,7 @@ jobs:
|
|||
fetch-depth: 0
|
||||
|
||||
- name: setup jdk${{ inputs.jdk }}
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: ${{ inputs.jdk }}
|
||||
run: export JAVA_HOME=$JAVA_HOME_${{ inputs.jdk }}_X64
|
||||
|
||||
- name: Restore Maven repository
|
||||
id: maven-restore
|
||||
|
|
|
@ -117,10 +117,7 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup java
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 8
|
||||
run: export JAVA_HOME=$JAVA_HOME_8_X64
|
||||
|
||||
- name: Restore Maven repository
|
||||
id: maven-restore
|
||||
|
|
|
@ -51,11 +51,7 @@ jobs:
|
|||
echo "java_version=${jdk:3}" >> $GITHUB_ENV
|
||||
|
||||
- name: setup ${{ matrix.java }}
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: ${{ env.java_version }}
|
||||
cache: 'maven'
|
||||
run: export JAVA_HOME=$JAVA_HOME_${{ env.java_version }}_X64
|
||||
|
||||
- name: packaging check
|
||||
run: |
|
||||
|
|
|
@ -57,10 +57,7 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup java
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: ${{ matrix.jdk }}
|
||||
run: export JAVA_HOME=$JAVA_HOME_${{ matrix.jdk }}_X64
|
||||
|
||||
- name: Cache Maven m2 repository
|
||||
id: maven
|
||||
|
|
Loading…
Reference in New Issue