From 498d59ba02ebab643fa851d4c023218c04884a3d Mon Sep 17 00:00:00 2001 From: Jayesh Kharode Date: Wed, 12 Jun 2024 16:52:32 +0530 Subject: [PATCH] MOSIP-33383 Signed-off-by: Jayesh Kharode --- .github/workflows/push-trigger.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/push-trigger.yml b/.github/workflows/push-trigger.yml index 1fbfc3c6..2e7c2ca0 100644 --- a/.github/workflows/push-trigger.yml +++ b/.github/workflows/push-trigger.yml @@ -67,7 +67,7 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} build-maven-uitest-admin: - uses: mosip/kattu/.github/workflows/maven-build.yml@master + uses: mosip/kattu/.github/workflows/maven-build.yml@master-java21 with: SERVICE_LOCATION: ./uitest-admin BUILD_ARTIFACT: uitest-admin @@ -87,12 +87,12 @@ jobs: SERVICE_LOCATION: uitest-admin BUILD_ARTIFACT: uitest-admin-local steps: - - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - uses: actions/checkout@v3 + - name: Set up JDK 21 + uses: actions/setup-java@v3 with: - ref: ${{ github.ref }} - java-version: 11 + distribution: 'temurin' + java-version: '21' server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file @@ -145,7 +145,7 @@ jobs: BUILD_ARTIFACT: 'uitest-admin-local' fail-fast: false name: ${{ matrix.SERVICE_NAME }} - uses: mosip/kattu/.github/workflows/docker-build.yml@master + uses: mosip/kattu/.github/workflows/docker-build.yml@master-java21 with: SERVICE_LOCATION: ${{ matrix.SERVICE_LOCATION }} SERVICE_NAME: ${{ matrix.SERVICE_NAME }} @@ -159,7 +159,7 @@ jobs: sonar-analysis-uitest-admin: needs: build-uitest-admin-local if: "${{ github.event_name != 'pull_request' }}" - uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master + uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master-java21 with: SERVICE_LOCATION: uitest-admin SONAR_URL: 'https://sonarcloud.io'