Skip to content

Commit

Permalink
Fix broken JDK 11 build
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB committed Jun 16, 2024
1 parent 742fb1e commit 248fd76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17
- name: Build with Maven
run: mvn clean install
- name: Commit files
Expand Down
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
<module>planet-themes-updatesite</module>
</modules>
<properties>
<javase.version>JavaSE-11</javase.version>
<java.version>11</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tycho.version>2.7.5</tycho.version>
</properties>
Expand All @@ -31,6 +33,7 @@
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<executionEnvironment>${javase.version}</executionEnvironment>
<includePackedArtifacts>true</includePackedArtifacts>
<target>
<artifact>
Expand Down

0 comments on commit 248fd76

Please sign in to comment.