Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Commit

Permalink
rollback to Java 11 for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Katsute committed Sep 29, 2021
1 parent ba52b5e commit 0945266
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
architecture: x64
distribution: temurin
java-version: 17
java-version: 11

- name: 🚀 Deploy to GitHub Packages
run: mvn deploy -B -Dmaven.test.skip=true -P github
Expand All @@ -37,7 +37,7 @@ jobs:
with:
architecture: x64
distribution: temurin
java-version: 17
java-version: 11
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_CENTRAL_TOKEN
Expand Down
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@
<additionalOptions>
<additionalOption>-public</additionalOption>
</additionalOptions>
<additionalJOptions>
<!-- fix undefined module -->
<additionalJOption>--no-module-directories</additionalJOption>
</additionalJOptions>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit 0945266

Please sign in to comment.