From e44010204a938e4e557df68c1138c39d5bbaebcb Mon Sep 17 00:00:00 2001 From: behnazh-w Date: Thu, 20 Jun 2024 13:05:56 +1000 Subject: [PATCH] ci: use Oracle JDK as the distribution in actions/setup-java Signed-off-by: behnazh-w --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 81c9e80e..e4d2d508 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,7 +27,7 @@ jobs: - name: Set up Apache Maven Central uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 with: # Running setup-java again overwrites the settings.xml - distribution: temurin + distribution: oracle java-version: '17' server-id: maven-central # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME # env variable for username in deploy