From e2104c5dcfde6fa62c0c826f84064bb99e531bda Mon Sep 17 00:00:00 2001 From: Shubham Date: Thu, 22 Feb 2024 13:04:42 +0530 Subject: [PATCH] chore: added java17 for sonarscan --- .github/workflows/test-and-deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml index cb88c7881f..ba2161ee98 100644 --- a/.github/workflows/test-and-deploy.yml +++ b/.github/workflows/test-and-deploy.yml @@ -52,6 +52,11 @@ jobs: TWILIO_TO_NUMBER: ${{ secrets.TWILIO_TO_NUMBER }} run: mvn test -DTest="ClusterTest" -B + - uses: actions/setup-java@v4 + with: + distribution: 'zulu' + java-version: '17' + - name: SonarCloud Scan if: ${{ (github.event_name == 'pull_request' || github.ref_type == 'branch') && matrix.java == 11 && !github.event.pull_request.head.repo.fork }} env: