Skip to content

Commit

Permalink
Update actions/setup-java action v1 -> v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Mar 15, 2024
1 parent 60a40c1 commit 8a159b8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11, 14 ]
java: [ 8, 11, 17, 21 ]
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Build with Maven
run: ./mvnw clean verify -B -ntp -Dinvoker.streamLogs=true
Expand All @@ -40,12 +41,13 @@ jobs:
runs-on: windows-2022
strategy:
matrix:
java: [ 8, 11, 14 ]
java: [ 8, 11, 17, 21 ]
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
- name: Build with Maven
run: './mvnw clean verify -B -ntp "-Dinvoker.streamLogs=true"'
Expand Down

0 comments on commit 8a159b8

Please sign in to comment.