From 23c54e89844eb1594c657ae7dc2a37e31931ba4d Mon Sep 17 00:00:00 2001 From: MarkSackerberg <93528482+MarkSackerberg@users.noreply.github.com> Date: Sat, 7 Dec 2024 00:19:55 +0100 Subject: [PATCH] fix mac architecture --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b98b5b4d..8afd5368 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: - windows-latest - ubuntu-latest - macos-latest - - macos-14 + - macos-13 runs-on: ${{ matrix.os }} @@ -54,10 +54,10 @@ jobs: binary_extension=".exe" binary_path="sugar-windows-latest${binary_extension}" elif [[ "${RUNNER_OS}" == "macOS" ]]; then - if [[ "${MATRIX_OS}" == "macos-14" ]]; then - binary_path="sugar-macos-m1-latest" - else + if [[ "${MATRIX_OS}" == "macos-13" ]]; then binary_path="sugar-macos-intel-latest" + else + binary_path="sugar-macos-m1-latest" fi elif [[ "${RUNNER_OS}" == "Linux" ]]; then binary_path="sugar-ubuntu-latest"