Maven options

This commit is contained in:
Andrea Cavalli 2021-09-10 01:38:59 +02:00
parent 4ee131d2bb
commit bd0129fb9f

View File

@ -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 }}