diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d0951f64..89ce275e 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -40,9 +40,12 @@ jobs: name: reflection-config path: "pace-cli/target/classes/native-reflection-configuration.json" - osx-arm64: + native-image: needs: build - runs-on: macos-14 + strategy: + matrix: + os: [macos-14] + runs-on: ${{ matrix.os }} steps: - name: Set up JDK 17 uses: graalvm/setup-graalvm@v1 @@ -62,18 +65,19 @@ jobs: - name: Upload Executable uses: actions/upload-artifact@v4 with: - name: pace-cli-mac-arm64 + name: pace-cli-${{ env.RUNNER_ARCH }} path: "pace-cli" release: needs: - build - - osx-arm64 + - native-image runs-on: ubuntu-latest steps: - uses: actions/download-artifact@v4 - run: mkdir release - - run: zip -r release/pace-cli-mac-arm64-${{ needs.build.outputs.version }}.zip pace-cli-mac-arm64 +# - run: zip -r release/pace-cli-mac-arm64-${{ needs.build.outputs.version }}.zip pace-cli-mac-arm64 + - run: ls -l - run: cp exe-jar/pace-cli-${{ needs.build.outputs.version }}-jar-with-dependencies.jar release/pace-cli-${{ needs.build.outputs.version }}.jar - name: Update branch release uses: eine/tip@master