diff --git a/.github/workflows/on_pull_request_push_run_test_and_coverage.yml b/.github/workflows/on_pull_request_push_run_test_and_coverage.yml index 08b4848b..7f8bfdd0 100644 --- a/.github/workflows/on_pull_request_push_run_test_and_coverage.yml +++ b/.github/workflows/on_pull_request_push_run_test_and_coverage.yml @@ -7,11 +7,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: distribution: adopt - java-version: 11 + java-version: 17 cache: 'maven' - name: Build with Maven run: mvn -B test --file pom.xml -Pcoverage -Daadarchi.github.token="$TOKEN_FOR_GITHUB" -Daadarchi.gitlab.token="$TOKEN_FOR_GITLAB" diff --git a/.github/workflows/on_push_on_master_deploy_build.yml b/.github/workflows/on_push_on_master_deploy_build.yml index 90ccccbe..c22124ff 100644 --- a/.github/workflows/on_push_on_master_deploy_build.yml +++ b/.github/workflows/on_push_on_master_deploy_build.yml @@ -24,11 +24,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: distribution: adopt - java-version: 11 + java-version: 17 cache: 'maven' - name: Build with Maven run: mvn -B install --file pom.xml -Daadarchi.github.token="$TOKEN_FOR_GITHUB" -Daadarchi.gitlab.token="$TOKEN_FOR_GITLAB" diff --git a/.github/workflows/on_workflow_dispatch_perform_maven_release.yml b/.github/workflows/on_workflow_dispatch_perform_maven_release.yml index 86ef6776..a68dcb0e 100644 --- a/.github/workflows/on_workflow_dispatch_perform_maven_release.yml +++ b/.github/workflows/on_workflow_dispatch_perform_maven_release.yml @@ -36,10 +36,10 @@ jobs: run: | git config --global user.email "aadarchi-releaser-bot@users.noreply.github.com" git config --global user.name "🤖 Aadarchi releaser bot" - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: - java-version: '11' + java-version: '17' distribution: 'adopt' cache: maven server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml