diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 5d2dab6..617b642 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -16,10 +16,10 @@ jobs: with: fetch-depth: 0 fetch-tags: true - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: - java-version: '17' + java-version: '21' distribution: 'oracle' server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file