Fix setup-java@v4 to use liberica only.
This commit is contained in:
7
.github/workflows/ci-it.yml
vendored
7
.github/workflows/ci-it.yml
vendored
@@ -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:
|
||||
|
||||
14
.github/workflows/common.yml
vendored
14
.github/workflows/common.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user