diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index bf5b357..e8f859d 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -44,6 +44,8 @@ jobs: run: | echo "REVISION: $REVISION" + export MAVEN_OPTS="--enable-preview --add-modules jdk.incubator.foreign -Dforeign.restricted=permit --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED" + mvn -B -Drevision=${REVISION} clean deploy env: MAVEN_USERNAME: ${{ secrets.MCHV_USERNAME }}