Skip to content

Commit 592f8c5

Browse files
authored
Merge pull request #173 from gsmet/modernize-actions
Update GitHub Actions
2 parents 138bfa1 + 9b5174b commit 592f8c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: |
2828
echo -n ${{ github.event.number }} > pull-request-number
2929
- name: Upload pull request number
30-
uses: actions/upload-artifact@v3
30+
uses: actions/upload-artifact@v4
3131
with:
3232
name: pull-request-number-${{ github.event.number }}
3333
path: pull-request-number
@@ -40,17 +40,17 @@ jobs:
4040
matrix:
4141
java: [ 17, 21 ]
4242
steps:
43-
- uses: actions/checkout@v3
43+
- uses: actions/checkout@v4
4444
- name: Install JDK ${{ matrix.java }}
45-
uses: actions/setup-java@v3
45+
uses: actions/setup-java@v4
4646
with:
4747
distribution: temurin
4848
java-version: ${{ matrix.java }}
4949
cache: maven
5050
- name: Build with Maven
5151
run: mvn -B clean install
5252
- name: Upload build reports (if build failed)
53-
uses: actions/upload-artifact@v3
53+
uses: actions/upload-artifact@v4
5454
if: ${{ failure() || cancelled() }}
5555
with:
5656
name: "build-reports-Build - JDK ${{ matrix.java }}"

0 commit comments

Comments
 (0)