From 316ed317e66206770b23c8a9e3259d2575dfa617 Mon Sep 17 00:00:00 2001 From: Marc Philipp Date: Thu, 25 Apr 2024 16:12:39 +0200 Subject: [PATCH] Use Liberica for JDK 8 for compatibility with Apple Silicon --- .github/actions/setup-test-jdk/action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-test-jdk/action.yml b/.github/actions/setup-test-jdk/action.yml index 4e8c96266c69..a1448acfc6a8 100644 --- a/.github/actions/setup-test-jdk/action.yml +++ b/.github/actions/setup-test-jdk/action.yml @@ -1,11 +1,16 @@ name: Set up Test JDK description: Sets up the JDK required to run platform-tooling-support-tests +inputs: + distribution: + required: true + description: 'The JDK distribution to use' + default: 'liberica' runs: using: "composite" steps: - uses: actions/setup-java@v3 with: - distribution: temurin + distribution: ${{ inputs.distribution }} java-version: 8 - shell: bash run: echo "JDK8=$JAVA_HOME" >> $GITHUB_ENV