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:
Elliott Freis 2023-02-23 08:50:04 -08:00 committed by GitHub
parent f7a5fcf30f
commit 471cb82af3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 25 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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