Update Github Actions to JDK17
Use JDK17 with a proper distribution.
This commit is contained in:
5
.github/workflows/spring-batch-excel.yml
vendored
5
.github/workflows/spring-batch-excel.yml
vendored
@@ -11,10 +11,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file pom.xml
|
||||
|
||||
Reference in New Issue
Block a user