From 9bf77fc1176e3e24060c541a4ef80d07ef37d891 Mon Sep 17 00:00:00 2001 From: Austin Raney Date: Fri, 3 May 2024 15:12:03 -0400 Subject: [PATCH] ci: fix mac sed issue (#15) --- .github/workflows/build_and_run_tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build_and_run_tests.yml b/.github/workflows/build_and_run_tests.yml index cad3002..9ec8a69 100644 --- a/.github/workflows/build_and_run_tests.yml +++ b/.github/workflows/build_and_run_tests.yml @@ -41,8 +41,7 @@ jobs: if [ ${{ runner.os }} == 'macOS' ] then brew install gnu-sed - #PATH="$(brew --prefix)/opt/gnu-sed/libexec/gnubin:$PATH" - PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH" + export PATH="$(brew --prefix gsed)/libexec/gnubin:$PATH" fi sed -i 's/\${CXX}/g++/' run_unittest.sh ./run_unittest.sh