Browse Source

need path to sed on macos

Tig 1 year ago
parent
commit
23ee80f030
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .github/workflows/dotnet-core.yml

+ 3 - 1
.github/workflows/dotnet-core.yml

@@ -40,7 +40,9 @@ jobs:
 
     - name: Install sed on macOS
       if: runner.os == 'macOS'
-      run: brew install gnu-sed
+      run: |
+          brew install gnu-sed
+          PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
 
       # See https://github.com/microsoft/vstest/issues/2952 for why the --blame stuff below is needed.
       # Without it, the test runner crashes on ubuntu (but not Windows)/