From 1d3ae2732f49581123a242f158cb387df5b85d19 Mon Sep 17 00:00:00 2001 From: "Rawat, Arvind" Date: Tue, 3 Feb 2026 11:27:11 +0000 Subject: [PATCH] Fixed github actions. --- .github/workflows/onpullrequest.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/onpullrequest.yml b/.github/workflows/onpullrequest.yml index cc130d2..5354416 100644 --- a/.github/workflows/onpullrequest.yml +++ b/.github/workflows/onpullrequest.yml @@ -49,6 +49,9 @@ jobs: https_proxy: ${{ secrets.HTTPS_PROXY }} no_proxy: ${{ secrets.NO_PROXY }} steps: + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + with: + fetch-depth: 0 - name: Setup Java JDK uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0 @@ -56,11 +59,6 @@ jobs: distribution: 'temurin' java-version: '17' - - name: Install Maven manually - run: | - curl -LO https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz - tar -xzf apache-maven-3.6.3-bin.tar.gz - - name: Update Maven proxy settings run: | # Fetch MAVEN_PROXY_HOST and MAVEN_PROXY_PORT from secrets.HTTP_PROXY @@ -76,8 +74,6 @@ jobs: - name: Unit Test Coverage run: | - # Add maven binary location to PATH - export PATH="$PWD/apache-maven-3.6.3/bin:$PATH" # Compile, build and install the package # This also runs the unit tests internally mvn -X -e clean compile install package