Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit 13fd8bb

Browse files
authored
Fixes OSSRH-66257
1 parent f199175 commit 13fd8bb

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@ jobs:
114114
git config --global user.email "actions@github.com"
115115
git config --global user.name "GitHub Actions"
116116
git pull
117+
118+
# Fixes OSSRH-66257
119+
# See https://issues.sonatype.org/browse/OSSRH-66257?focusedCommentId=1036973&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1036973
120+
- if: ${{ matrix.java == 17 }}
121+
run: |
122+
export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED"
117123
118124
- name: Set up JDK and configure for ossrh
119125
uses: actions/setup-java@v2

0 commit comments

Comments
 (0)