Skip to content

Commit 0f97a3f

Browse files
committed
Upgrade github action
1 parent 8e1e1d0 commit 0f97a3f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/maven.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,23 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: [ubuntu-latest, windows-latest ]
23-
java: ['1.8', '11']
23+
java: ['8', '11']
2424

2525
steps:
26-
- uses: actions/checkout@v2
27-
- uses: actions/cache@v1
26+
- uses: actions/checkout@v4
27+
- uses: actions/cache@v4
2828
with:
2929
path: ~/.m2/repository
3030
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
3131
restore-keys: |
3232
${{ runner.os }}-maven-
3333
- name: Set up JDK ${{ matrix.java }}
34-
uses: actions/setup-java@v1
34+
uses: actions/setup-java@v3
3535
with:
3636
java-version: ${{ matrix.java }}
3737
- name: Build with Maven Java ${{ matrix.java }}
3838
run: mvn -s .m2-settings.xml -B -fae clean install
39-
- uses: actions/upload-artifact@v2
39+
- uses: actions/upload-artifact@v4
4040
if: failure()
4141
with:
4242
name: surefire-reports-${{ matrix.os }}-${{ matrix.java }}

0 commit comments

Comments
 (0)