diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 5eeff709..399b3ba5 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -13,13 +13,9 @@ jobs: java: [ 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 ] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} - - uses: actions/cache@v2 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2 + cache: 'maven' - run: mvn -B package --file pom.xml