Skip to content

Commit

Permalink
Java 17 as default
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Aug 23, 2023
1 parent 7b66d0c commit 428a7bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ inputs:

java-version:
description: 'The Java version to set up'
default: '17'
required: true

java-distribution:
Expand Down

0 comments on commit 428a7bd

Please sign in to comment.