upgrade to java 17 in build yaml

This commit is contained in:
NadimETH 2024-03-04 17:34:53 +01:00 committed by GitHub
parent f3a34ab06f
commit 8f8ede317c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,11 +20,11 @@ jobs:
name: Checkout repository
uses: actions/checkout@v4
-
name: Set up JDK 8
uses: actions/setup-java@v4
name: Set up JDK 17
uses: actions/setup-java@v4.1
with:
java-version: '8'
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
-
name: Cache Maven packages
uses: actions/cache@v4
@ -72,10 +72,10 @@ jobs:
uses: actions/checkout@v4
-
name: Set up JDK 17
uses: actions/setup-java@v4
uses: actions/setup-java@v4.1
with:
java-version: '17'
distribution: 'adopt'
distribution: 'temurin'
-
name: Cache Maven packages
uses: actions/cache@v4