From dcb15042509fd5185d106945c19755a683dd526d Mon Sep 17 00:00:00 2001 From: Pierre Pouchin Date: Fri, 3 Nov 2023 12:21:34 +0100 Subject: [PATCH] Update JDK version for Sonarcloud in CI --- .github/workflows/maven.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index ccc07302..e7de3c26 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -24,10 +24,10 @@ jobs: repository: openmicroscopy/omero-test-infra submodules: true path: .omero - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: - java-version: '11' + java-version: '17' distribution: 'adopt' server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file @@ -92,10 +92,10 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v3 with: - java-version: '11' + java-version: '17' distribution: 'adopt' server-id: github # Value of the distributionManagement/repository/id field of the pom.xml gpg-private-key: ${{ secrets.GPG_KEY }} # Value of the GPG private key to import