diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 48048b3..1e9d6c2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -76,6 +76,9 @@ jobs: name: build-jar path: ./ + - name: Prepare jar + run: mv aidbox-sdk.jar source.jar + - name: Setup GraalVM uses: graalvm/setup-graalvm@v1 with: @@ -85,13 +88,12 @@ jobs: native-image-job-reports: "true" - name: Compile to native binary - run: | - mv aidbox-sdk.jar source.jar - native-image -jar ./source.jar \ - -march=native \ - --no-fallback \ - --features=clj_easy.graal_build_time.InitClojureClasses \ - -H:ReflectionConfigurationFiles=./reflect-config.json \ + run: > + native-image -jar ./source.jar + -march=native + --no-fallback + --features=clj_easy.graal_build_time.InitClojureClasses + -H:ReflectionConfigurationFiles=./reflect-config.json aidbox-sdk-${{ matrix.os }} - name: Upload amd64 binary artifact