diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3348575b..f4ba74e8c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,13 @@ jobs: - uses: actions/checkout@v3 - name: Gradle wrapper validation uses: gradle/wrapper-validation-action@v1 + - name: Set up JDK 23 + uses: actions/setup-java@v3 + with: + java-version: 23 + distribution: 'zulu' + cache: 'gradle' + - run: echo "JDK23=$JAVA_HOME" >> $GITHUB_ENV - name: Set up JDK 21 uses: actions/setup-java@v3 with: diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 6d4a40ca6..e9c654880 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -16,6 +16,13 @@ jobs: fetch-depth: 0 - name: Gradle wrapper validation uses: gradle/wrapper-validation-action@v1 + - name: Set up JDK 23 + uses: actions/setup-java@v3 + with: + java-version: 23 + distribution: 'zulu' + cache: 'gradle' + - run: echo "JDK23=$JAVA_HOME" >> $GITHUB_ENV - name: Set up JDK 21 uses: actions/setup-java@v3 with: