diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 154eb5f2..2eb47adf 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -11,8 +11,8 @@ jobs: - name: Set up Maven Central Repo uses: actions/setup-java@v4 with: - distribution: oracle - java-version: 18 + distribution: temurin + java-version: 8 server-id: ossrh server-username: ${{ secrets.OSSRH_USER }} server-password: ${{ secrets.OSSRH_PASSWORD }}