Skip to content

Commit

Permalink
downgrade to use jdk17
Browse files Browse the repository at this point in the history
  • Loading branch information
eric2788 committed Aug 15, 2024
1 parent 451f389 commit 7768ccf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v4
- uses: eric2788/maven-jar-publish@v3
with:
java-version: 22
java-version: 17
body: added multiple distribution management
upload-module: './groovier-plugin'
- name: 'Update javadocs'
Expand All @@ -46,7 +46,7 @@ jobs:
separator: '.'
- uses: actions/setup-java@v2
with:
java-version: '22'
java-version: '17'
distribution: 'adopt'
- uses: whelk-io/maven-settings-xml-action@main
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 22
java-version: 17
- name: 'Package Jar'
run: mvn -B package --file ./pom.xml
- name: 'upload artifacts'
id: upload-artifacts
uses: actions/upload-artifact@v4
with:
name: groovier-plugin
path: './groovier-plugin/target'
path: './groovier-plugin/target'
4 changes: 2 additions & 2 deletions groovier-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<version>${project.parent.version}.1</version>

<properties>
<maven.compiler.source>22</maven.compiler.source>
<maven.compiler.target>22</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>


Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</modules>

<properties>
<java.version>22</java.version>
<java.version>17</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down

0 comments on commit 7768ccf

Please sign in to comment.