浏览代码

need path to sed on macos

Tig 1 年之前
父节点
当前提交
23ee80f030
共有 1 个文件被更改,包括 3 次插入1 次删除
  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)/