diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index abdbb81..a695f3b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -23,20 +23,20 @@ jobs: java: ['1.8', '11'] steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v1 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: ${{ matrix.java }} - name: Build with Maven Java ${{ matrix.java }} run: mvn -s .m2-settings.xml -B -fae clean install - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: failure() with: name: surefire-reports-${{ matrix.os }}-${{ matrix.java }}