From f9f1308f17d30c5790109b652dc7486cd9bf1c15 Mon Sep 17 00:00:00 2001 From: Sven Boeckelmann Date: Thu, 8 Sep 2022 18:28:19 +0200 Subject: [PATCH] fix native cli build reflect path --- .github/workflows/maven-cli.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-cli.yml b/.github/workflows/maven-cli.yml index 16319f5..3e27ad1 100644 --- a/.github/workflows/maven-cli.yml +++ b/.github/workflows/maven-cli.yml @@ -135,7 +135,7 @@ jobs: env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true run: | - native-image --no-server --no-fallback --enable-http --enable-https --allow-incomplete-classpath -H:+JNI -H:+UseServiceLoaderFeature -H:ReflectionConfigurationFiles=./src/native/resources/reflect.json -jar openepcis-event-hash-generator-cli-${{env.VERSION}}-jar-with-dependencies.jar + native-image --no-server --no-fallback --enable-http --enable-https --allow-incomplete-classpath -H:+JNI -H:+UseServiceLoaderFeature -H:ReflectionConfigurationFiles=./cli/src/native/resources/reflect.json -jar openepcis-event-hash-generator-cli-${{env.VERSION}}-jar-with-dependencies.jar - name: 'Publish Native Image' if: success() @@ -207,7 +207,7 @@ jobs: GRAALVM_HOME: ./graalvm-ce-java17-22.2.0 run: | call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat" - ./graalvm-ce-java17-22.2.0/bin/native-image --no-server --no-fallback --enable-http --enable-https --allow-incomplete-classpath -H:+JNI -H:+UseServiceLoaderFeature -H:ReflectionConfigurationFiles=./src/native/resources/reflect.json -jar openepcis-event-hash-generator-cli-${{env.VERSION}}-jar-with-dependencies.jar + ./graalvm-ce-java17-22.2.0/bin/native-image --no-server --no-fallback --enable-http --enable-https --allow-incomplete-classpath -H:+JNI -H:+UseServiceLoaderFeature -H:ReflectionConfigurationFiles=./cli/src/native/resources/reflect.json -jar openepcis-event-hash-generator-cli-${{env.VERSION}}-jar-with-dependencies.jar - name: 'Publish Windows Image' if: success() uses: actions/upload-artifact@v3