From 26f037e41a83f567030d117b228df4f97eb5d00c Mon Sep 17 00:00:00 2001 From: yougotwill Date: Fri, 16 Aug 2024 16:52:44 +1000 Subject: [PATCH] feat: try to build apple silicon binaries added arm64 macos runner --- .github/workflows/build-binaries.yml | 4 ++-- .github/workflows/pull-request.yml | 2 +- .github/workflows/release.yml | 2 +- actions/setup_and_build/action.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index bb10fc39d..924a1892a 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-2022, macos-12, ubuntu-20.04] + os: [windows-2022, ubuntu-20.04, macos-12, macos-13-xlarge] env: SIGNAL_ENV: production GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -75,5 +75,5 @@ jobs: - name: Upload Production Artifacts uses: actions/upload-artifact@v1 with: - name: ${{ runner.OS }}-production + name: ${{ runner.os }}-${{ runner.arch }}-production path: release diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 68974bb15..d85c9e77d 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-2022, macos-12, ubuntu-20.04] + os: [windows-2022, ubuntu-20.04, macos-12, macos-13-xlarge] env: SIGNAL_ENV: production GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 905a21fe2..0c622602b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-2022, macos-12, ubuntu-20.04] + os: [windows-2022, ubuntu-20.04, macos-12, macos-13-xlarge] env: SIGNAL_ENV: production GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/actions/setup_and_build/action.yml b/actions/setup_and_build/action.yml index 3d33117d1..21e63ef33 100644 --- a/actions/setup_and_build/action.yml +++ b/actions/setup_and_build/action.yml @@ -19,7 +19,7 @@ runs: if: runner.os != 'Windows' with: path: node_modules - key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }} + key: ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('package.json', 'yarn.lock', 'patches/**') }} # Not having this will break the windows build because the PATH won't be set by msbuild. - name: Add msbuild to PATH