diff --git a/.github/workflows/macos-release-build.yml b/.github/workflows/macos-release-build.yml index 749ef4430..c72c4679f 100644 --- a/.github/workflows/macos-release-build.yml +++ b/.github/workflows/macos-release-build.yml @@ -15,15 +15,11 @@ jobs: mac-build: name: Build macOS - ${{ matrix.arch }} - runs-on: ${{ matrix.os }} + runs-on: macos-14 strategy: fail-fast: false matrix: - include: - - arch: aarch64 - os: macos-14 - - arch: x86_64 - os: macos-13 + arch: [x86_64, aarch64] steps: - name: Install Node.js @@ -77,6 +73,12 @@ jobs: brew install watchman curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.79 + source $HOME/.cargo/env + if test "${{ matrix.arch }}" = "aarch64"; then + rustup target add aarch64-apple-darwin + else + rustup target add x86_64-apple-darwin + fi - name: Force usage fo gnu-tar run: |