Skip to content

Commit

Permalink
Upgrade CI: upgrade gitup action components
Browse files Browse the repository at this point in the history
  • Loading branch information
jimma committed Dec 16, 2024
1 parent b5ba6b8 commit 481624f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,21 @@ jobs:
java: ['1.8', '11']

steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
- uses: actions/checkout@v4
- uses: actions/cache@v3
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 }}
distribution: 'adopt'
- 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 }}
Expand Down

0 comments on commit 481624f

Please sign in to comment.