Use java dot file to help autobuild select the correct version

This commit is contained in:
games647
2023-07-17 15:52:54 +02:00
parent 610c49d62c
commit 44d365b15d
3 changed files with 3 additions and 2 deletions

View File

@ -48,7 +48,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 19
java-version-file: '.java-version'
cache: 'maven'
# Auto build attempts to build any compiled languages (C/C++, C#, or Java).

View File

@ -33,7 +33,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 19
java-version-file: '.java-version'
cache: 'maven'
# Build and test (included in package)

1
.java-version Normal file
View File

@ -0,0 +1 @@
19