Skip to content

Commit

Permalink
Fixes #84 - Update to Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
Automated workflow committed Nov 1, 2023
1 parent b764d51 commit 6b8ec56
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Java
- name: Set up Java 21
uses: actions/setup-java@v1
with:
java-version: 17
java-version: 21
- name: Build with Maven
run: mvn -B -DskipTests package
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v1
- name: Set up Java
- name: Set up Java 21
uses: actions/setup-java@v1
with:
java-version: 17
java-version: 21
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down
10 changes: 6 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<url>https://github.com/manorrock/guppy/blob/master/LICENSE</url>
</license>
</licenses>
<properties>
<!-- other -->
<java.version>21</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<pluginManagement>
<plugins>
Expand Down Expand Up @@ -54,7 +59,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<release>17</release>
<release>${java.version}</release>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -126,9 +131,6 @@
<module>property</module>
<module>csv</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<profiles>
<profile>
<id>release</id>
Expand Down

0 comments on commit 6b8ec56

Please sign in to comment.