diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 26f03b9..89c9277 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,10 +44,8 @@ jobs: - uses: actions/checkout@v3 - uses: ./ - with: - java-version: 8 - - run: mvn -V validate -Drequire.java=8 -Drequire.maven=3.9.4 + - run: mvn -V validate -Drequire.java=17 -Drequire.maven=3.9.4 shell: bash test-ok: diff --git a/README.md b/README.md index d87c47a..fb8dda1 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ or use automatic tools like [Dependabot](https://docs.github.com/en/code-securit | params | destination | default | |-------------------|--------------|---------| -| java-version | java-version | | +| java-version | java-version | 17 | | java-distribution | distribution | temurin | ## cache diff --git a/action.yml b/action.yml index cc5ec59..3f73b29 100644 --- a/action.yml +++ b/action.yml @@ -29,6 +29,7 @@ inputs: java-version: description: 'The Java version to set up' + default: '17' required: true java-distribution: