diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index cc61a0c7001..47f080c5050 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -36,7 +36,7 @@ jobs: - osx-arm64 fxdependent: [ true, false ] - runs-on: ubuntu-latest + runs-on: ${{ contains(matrix.runtime, 'osx') && 'macos-latest' || 'ubuntu-latest' }} steps: - uses: actions/checkout@v3 - uses: actions/setup-dotnet@v3