diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 8dc15c6..17a6399 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -13,11 +13,11 @@ jobs: environment: ossrh steps: - uses: actions/checkout@v3 - - name: Set up JDK 11 + - name: Set up JDK uses: actions/setup-java@v3 with: - java-version: '11' - distribution: 'temurin' + java-version: '21' + distribution: 'corretto' server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD