Skip to content

Commit

Permalink
Merge pull request #22086 from famod/java-ea-temurin
Browse files Browse the repository at this point in the history
Use Temurin 18-ea in 'Early Access JDK Build'
  • Loading branch information
geoand authored Dec 10, 2021
2 parents 06412af + 7374f32 commit daf8e37
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/jdk-early-access-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ on:
description: 'JDK distribution'
required: true
# make sure to keep the default of JDK_DIST in sync!
# use zulu until temurin dist is available
default: 'zulu'
# might need to use 'zulu' until 'temurin' dist is available
default: 'temurin'

env:
JDK_VERSION: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.jdkVersion || '18-ea' }}
JDK_DIST: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.jdkDistribution || 'zulu' }}
JDK_DIST: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.jdkDistribution || 'temurin' }}
# Workaround testsuite locale issue
LANG: en_US.UTF-8
JVM_TEST_MAVEN_OPTS: "-e -B --settings .github/mvn-settings.xml -Dtest-containers -Dstart-containers -Dformat.skip"
Expand All @@ -38,7 +38,6 @@ jobs:
steps:

- name: Set up JDK
# AdoptOpenJDK does not seem to provide EA builds, so use the standard action which provides a Zulu JDK
uses: actions/setup-java@v2
with:
distribution: ${{ env.JDK_DIST }}
Expand Down

0 comments on commit daf8e37

Please sign in to comment.