Fix setup-java@v4 to use liberica only.

This commit is contained in:
Corneil du Plessis
2024-11-14 14:41:21 +02:00
parent 6d30494b8c
commit 7c29766ff0
2 changed files with 0 additions and 21 deletions

View File

@@ -37,17 +37,10 @@ jobs:
echo "JAVA_VERSION=$JAVA_VERSION" >> $GITHUB_ENV
- name: 'Configure: Install Java'
if: ${{ env.JAVA_VERSION == '8' }}
uses: actions/setup-java@v4
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: 'liberica'
- name: 'Configure: Install GraalVM'
if: ${{ env.JAVA_VERSION != '8' }}
uses: actions/setup-java@v4
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: 'graalvm'
- name: 'Configure: cache for maven dependencies'
uses: actions/cache@v3
with:

View File

@@ -274,17 +274,10 @@ jobs:
shell: bash
run: find . -type f -name "*.sh" -exec chmod a+x '{}' \;
- name: 'Configure: Install Java'
if: ${{ needs.parameters.outputs.jdk_build == '8' }}
uses: actions/setup-java@v4
with:
java-version: ${{ needs.parameters.outputs.jdk_build }}
distribution: 'liberica'
- name: 'Configure: Install GraalVM'
if: ${{ needs.parameters.outputs.jdk_build != '8' }}
uses: actions/setup-java@v4
with:
java-version: ${{ needs.parameters.outputs.jdk_build }}
distribution: 'graalvm'
- name: 'Configure: cache for maven dependencies'
uses: actions/cache@v3
with:
@@ -433,17 +426,10 @@ jobs:
shell: bash
run: find . -type f -name "*.sh" -exec chmod a+x '{}' \;
- name: 'Configure: Install Java'
if: ${{ needs.parameters.outputs.jdk_build == '8' }}
uses: actions/setup-java@v4
with:
java-version: ${{ needs.parameters.outputs.jdk_build }}
distribution: 'liberica'
- name: 'Configure: Install GraalVM'
if: ${{ needs.parameters.outputs.jdk_build != '8' }}
uses: actions/setup-java@v4
with:
java-version: ${{ needs.parameters.outputs.jdk_build }}
distribution: 'graalvm'
- name: 'Configure: cache for maven dependencies'
uses: actions/cache@v3
with: