Skip to content

Commit

Permalink
Use LTS Java version
Browse files Browse the repository at this point in the history
Signed-off-by: Charith Ellawala <charith@lucidelectricdreams.com>
  • Loading branch information
charithe committed Nov 30, 2023
1 parent d27597f commit a56e8b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
- name: Set up JDK 1.17
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 1.17
- name: Build with Maven
run: mvn -B package --file pom.xml

6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
with:
fetch-depth: 0

- name: Set up JDK 1.8
- name: Set up JDK 1.17
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 1.17

- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Set up Maven Central
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 1.17
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down

0 comments on commit a56e8b7

Please sign in to comment.