Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix macos x86-64 release #33

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading