From a0fed2912483d863efab82877244b4340919ef1f Mon Sep 17 00:00:00 2001 From: Elvis Nieves Date: Mon, 19 Jun 2023 19:37:13 -0400 Subject: [PATCH] fix: specify runtime identifier to dotnet restore (#4) --- .github/workflows/main-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main-release.yml b/.github/workflows/main-release.yml index 0072f7d..9bd9747 100644 --- a/.github/workflows/main-release.yml +++ b/.github/workflows/main-release.yml @@ -15,7 +15,7 @@ jobs: - os: ubuntu-latest runtime: linux-x64 - os: macos-latest - runtime: osx.12-x64 + runtime: osx-x64 dotnet: ['8.x'] steps: - uses: actions/checkout@v3 @@ -26,7 +26,7 @@ jobs: dotnet-version: ${{ matrix.dotnet }} - name: Restore dependencies - run: dotnet restore + run: dotnet restore --runtime ${{ matrix.runtime }} - name: Build run: dotnet build --no-restore