From bfa08d30271af3445af0409ad0cb445afac8395b Mon Sep 17 00:00:00 2001 From: Arik Hadas Date: Sun, 31 Mar 2024 00:13:20 +0300 Subject: [PATCH] macos_aarch64: upload JRE --- .github/workflows/macos_aarch64.yaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/macos_aarch64.yaml b/.github/workflows/macos_aarch64.yaml index 1fe90dc..a723044 100644 --- a/.github/workflows/macos_aarch64.yaml +++ b/.github/workflows/macos_aarch64.yaml @@ -7,9 +7,6 @@ jobs: build: runs-on: macos-14 steps: - - name: Checkout JRE repository - uses: actions/checkout@v4 - - name: Checkout JDK repository uses: actions/checkout@v4 with: @@ -55,7 +52,15 @@ jobs: platform: macos-aarch64 make-target: images - - name: Adjust JDK + - name: Adjust JRE run: > - ./jdk/build/macosx-aarch64-server-release/images/jdk/bin/jlink --module-path ./jdk/build/macosx-aarch64-server-release/images/jdk/jmods --add-modules java.base,java.desktop,java.logging,java.naming,java.transaction.xa,java.rmi,java.management,java.security.jgss,java.sql,jdk.crypto.ec,jdk.httpserver,java.compiler --output ./macOS/aarch64/ --no-header-files --no-man-pages --strip-debug --compress=2 - rm -rf ${GITHUB_WORKSPACE}/jre/macOS/aarch64/bin + ./build/macosx-aarch64-server-release/images/jdk/bin/jlink --module-path ./build/macosx-aarch64-server-release/images/jdk/jmods --add-modules java.base,java.desktop,java.logging,java.naming,java.transaction.xa,java.rmi,java.management,java.security.jgss,java.sql,jdk.crypto.ec,jdk.httpserver,java.compiler --output ./out/macOS/aarch64/ --no-header-files --no-man-pages --strip-debug --compress=2 + rm -rf ./out/macOS/aarch64/bin + + - name: Compress JRE + run: zip jdk_macos_aarch64.zip ./out/* + + - name: Upload artifact + uses: actions/upload-artifact@master + with: + name: jdk_macos_aarch64.zip