Skip to content

Commit

Permalink
Fix build on macOS runner which is apparently arm now (#2161)
Browse files Browse the repository at this point in the history
* Fix build on macOS runner which is apparently arm now

* Update dotnet.yml
  • Loading branch information
Perksey committed Apr 26, 2024
1 parent 5d32739 commit 6b67ce5
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6b67ce5

Please sign in to comment.