From 6b67ce5d5cff15256efa4a5e335ecd49f4201644 Mon Sep 17 00:00:00 2001 From: Dylan Perks <11160611+Perksey@users.noreply.github.com> Date: Fri, 26 Apr 2024 15:21:34 -0500 Subject: [PATCH] Fix build on macOS runner which is apparently arm now (#2161) * Fix build on macOS runner which is apparently arm now * Update dotnet.yml --- .github/workflows/dotnet.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 6505e04fce..28f709e613 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -10,6 +10,19 @@ permissions: pull-requests: write actions: write jobs: + Build: + runs-on: macos-latest + steps: + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '8.0.x' + dotnet-quality: 'preview' + - name: Restore + run: dotnet restore + - name: Pack + run: dotnet pack -c Release Test: strategy: fail-fast: false @@ -21,9 +34,9 @@ jobs: - rid: linux-x64 os: ubuntu-20.04 name: linux-x64 - - rid: osx-x64 + - rid: osx-arm64 os: macos-latest - name: osx-x64 + name: osx-arm64 runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3