Skip to content

Commit

Permalink
macos_aarch64: upload JRE
Browse files Browse the repository at this point in the history
  • Loading branch information
ahadas committed Mar 30, 2024
1 parent 0127443 commit bfa08d3
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/macos_aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit bfa08d3

Please sign in to comment.