Skip to content

Commit

Permalink
build using java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
15knots committed Jan 15, 2024
1 parent 4185836 commit 1f2540e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'adopt'
cache: 'maven'

- name: Build
run: mvn -P release -B verify
run: mvn -P release -B -ntp verify
4 changes: 2 additions & 2 deletions .github/workflows/upload-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '11'
java-version: '17'
distribution: 'adopt'
settings-path: ${{ github.workspace }}

- name: Build
run: mvn -P release -B package
run: mvn -P release -B -ntp package

- name: Determine artifact to upload
id: TheZIP
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
</issueManagement>

<properties>
<maven.compiler.target>17</maven.compiler.target>
<tycho-version>2.7.4</tycho-version>
<platform.version>1.0.1</platform.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down

0 comments on commit 1f2540e

Please sign in to comment.