diff --git a/.github/workflows/build-pr-commit.yml b/.github/workflows/build-pr-commit.yml index 1e5d96f85..c0bda7516 100644 --- a/.github/workflows/build-pr-commit.yml +++ b/.github/workflows/build-pr-commit.yml @@ -14,10 +14,13 @@ jobs: runs-on: ubuntu-latest steps: - - name: Setup Maven Action - uses: s4u/setup-maven-action@v1.7.0 + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 with: java-version: 21 + distribution: 'zulu' + cache: maven - run: echo ' false ossrh ossrh-snapshot https://s01.oss.sonatype.org/content/repositories/snapshots ossrh ossrh-snapshot https://s01.oss.sonatype.org/content/repositories/snapshots artifactory artifactory github ${env.GITHUB_ACTOR} ${env.GITHUB_TOKEN} ' > ~/.m2/settings.xml