diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index de73e22b..fcd0fd1e 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -21,11 +21,12 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 - uses: actions/setup-java@v4 + - name: Setup Maven Action + uses: s4u/setup-maven-action@v1.14.0 with: - java-version: '17' - distribution: 'temurin' - cache: maven + checkout-fetch-depth: 0 + java-version: 17 + java-distribution: temurin + maven-version: 3.9.8 - name: Build with Maven run: mvn -B package --file pom.xml