From 885fe8be7e2192708d5ae4c8457e4a1b99ff407c Mon Sep 17 00:00:00 2001 From: witskeeper Date: Thu, 8 Aug 2024 10:00:15 +0800 Subject: [PATCH] Update maven-publish.yml --- .github/workflows/maven-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 425bbd2..6da9577 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -17,7 +17,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: '1.8' + java-version: '8.0.422+5' - name: Build with Maven run: mvn -B package --file pom.xml @@ -31,7 +31,7 @@ jobs: uses: actions/setup-java@v4 with: # running setup-java again overwrites the settings.xml distribution: 'temurin' - java-version: '1.8' + java-version: '8.0.422+5' server-id: maven # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME # env variable for username in deploy server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy