diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 5e63ed32..ad734743 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -25,10 +25,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 17 + distribution: 'temurin' - shell: bash env: gpg_private_key: ${{ secrets.gpg_private_key }} diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 108d4d08..fd590325 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -30,9 +30,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v1 with: - java-version: 11 + java-version: 17 + distribution: 'temurin' - name: Build with Maven run: mvn clean compile test --file pom.xml