diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 591a9f2..529a93c 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -23,8 +23,8 @@ jobs: - name: Set up JDK 11 uses: actions/setup-java@v2 with: - java-version: '18' - distribution: 'openjdk' + distribution: 'temurin' # See 'Supported distributions' for available options + java-version: '17' server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file