From 2b2ab07b72756f73f36ca9b7625d84921e67922d Mon Sep 17 00:00:00 2001 From: Samuel Vanderwaal Date: Mon, 18 Mar 2024 07:28:17 -0800 Subject: [PATCH] add macos-14 runner to build workflow --- .github/workflows/build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb5dc4d..a9a76d6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,9 +15,13 @@ jobs: - windows-latest - buildjet-16vcpu-ubuntu-2004 - macos-latest + - macos-14 runs-on: ${{ matrix.os }} + env: + MATRIX_OS: ${{ matrix.os }} + steps: - name: Checkout uses: actions/checkout@v2 @@ -45,7 +49,11 @@ jobs: binary_path="metaboss-windows-latest${binary_extension}" fi if [[ "${RUNNER_OS}" == "macOS" ]]; then - binary_path="metaboss-macos-intel-latest${binary_extension}" + if [[ "${MATRIX_OS}" == "macos-14" ]]; then + binary_path="metaboss-macos-m1-latest" + else + binary_path="metaboss-macos-intel-latest" + fi fi mv "target/release/metaboss${binary_extension}" "${binary_path}" echo "::set-output name=binary_path::${binary_path}"