From 704cf57de4a062c5cf24cbda1313f065f74498d6 Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Tue, 13 Dec 2022 00:14:32 +1100 Subject: [PATCH] add gnu sed & gnu grep to testnet job --- .github/workflows/local-testnet.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/local-testnet.yml b/.github/workflows/local-testnet.yml index b916ffee6..0e95d0c5f 100644 --- a/.github/workflows/local-testnet.yml +++ b/.github/workflows/local-testnet.yml @@ -27,6 +27,13 @@ jobs: - name: Install ganache run: npm install ganache@latest --global + - name: Install GNU sed & GNU grep + run: | + brew install gnu-sed grep + echo "$(brew --prefix)/opt/gnu-sed/libexec/gnubin" >> $GITHUB_PATH + echo "$(brew --prefix)/opt/grep/libexec/gnubin" >> $GITHUB_PATH + if: matrix.os == 'macos-12' + # https://github.com/actions/cache/blob/main/examples.md#rust---cargo - uses: actions/cache@v3 id: cache-cargo