From 6708f78331f267ca835baff8103cd6fb0fa5a8aa Mon Sep 17 00:00:00 2001 From: 12core1 <12533753+visnkmr@users.noreply.github.com> Date: Mon, 28 Aug 2023 14:24:24 +0530 Subject: [PATCH] add mac m1,m2, compaitable versions to auto release --- .github/workflows/release.yml | 38 +++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2dc65e0..d8b4e1d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,8 @@ name: Release on: push: - # branches: - # - main + branches: + - main # - 'v*' jobs: @@ -50,25 +50,25 @@ jobs: fail-fast: false matrix: settings: - # - host: macos-latest - # target: x86_64-apple-darwin - # os: darwin - # arch: amd64 - # - host: macos-latest - # target: aarch64-apple-darwin - # os: darwin - # arch: arm64 - # - host: windows-latest - # target: x86_64-pc-windows-msvc - # arch: amd64 - # - host: ubuntu-latest - # target: x86_64-unknown-linux-gnu - # os: linux - # arch: amd64 + - host: macos-latest + target: x86_64-apple-darwin + os: darwin + arch: amd64 + - host: macos-latest + target: aarch64-apple-darwin + os: darwin + arch: arm64 + - host: windows-latest + target: x86_64-pc-windows-msvc + arch: amd64 - host: ubuntu-latest - target: aarch64-unknown-linux-gnu + target: x86_64-unknown-linux-gnu os: linux - arch: arm64 + arch: amd64 + # - host: ubuntu-latest + # target: aarch64-unknown-linux-gnu + # os: linux + # arch: arm64 name: ${{ matrix.settings.target }} runs-on: ${{ matrix.settings.host }}