diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 8165a0d9..a358103a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -14,11 +14,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: '21' + 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 - name: Grant execute permission for gradlew diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef9a9484..05393cc3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'zulu' - java-version: '21' + java-version: '17' - name: Cache Gradle dependencies uses: actions/cache@v3