Skip to content

Commit

Permalink
fix macos x86-64 release (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladcudoidem committed Jun 26, 2024
1 parent 756b63d commit 109990e
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,15 @@ jobs:
build_and_package:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
architecture: [x64, arm64]
include:
- os: ubuntu-latest
architecture: x64
release_suffix: linux-x64
- os: macos-13
release_suffix: macos-x64
- os: macos-latest
architecture: x64
release_suffix: mac-x64
- os: macos-latest
architecture: arm64
release_suffix: mac-arm64
release_suffix: macos-arm64
- os: windows-latest
architecture: x64
release_suffix: windows-x64
exclude:
- os: ubuntu-latest
architecture: arm64
- os: windows-latest
architecture: arm64
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
Expand All @@ -37,10 +26,6 @@ jobs:
with:
distribution: 'zulu'
java-version: '17'

- name: Set up QEMU for ARM builds
if: matrix.architecture == 'arm64' && matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y qemu-user-static

- name: Build
run: ./gradlew build
Expand Down

0 comments on commit 109990e

Please sign in to comment.