From db000396c1bdb9d0851375b7295168532c3c4a53 Mon Sep 17 00:00:00 2001 From: Meron Brouwer Date: Sat, 17 Jul 2021 20:31:14 +0200 Subject: [PATCH] [configuration] Added environment variable to ensure release works on JDK16 --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba5977463..aef153d10 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,6 +47,7 @@ jobs: env: MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }} MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} + 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" - name: Create GitHub Release uses: ncipollo/release-action@v1