From bcc2f836f4ef0f64d8c62243ef22dca69b696cda Mon Sep 17 00:00:00 2001 From: Anton Keks Date: Sat, 26 Nov 2022 16:36:09 +0200 Subject: [PATCH] try generating a correct M1/M2 mac build with jlink in Github Actions --- .github/workflows/build.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d0b0288..919cb3fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,8 +44,18 @@ jobs: with: java-version: '17' distribution: 'liberica' + architecture: x64 cache: 'gradle' - - run: ./gradlew test mac --info + - run: ./gradlew test macX86 --info + + - uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'liberica' + architecture: aarch64 + cache: 'gradle' + - run: ./gradlew test macArm64 --info + env: APPLE_USER: ${{ secrets.APPLE_USER }} APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}