From 01465a898ab68459534fa6c6b2a78f3fb178be2b Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Thu, 3 Dec 2020 14:26:06 -0500 Subject: [PATCH] actions take 26 --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 52cf42bf..2aa370ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,8 +26,13 @@ jobs: os: [ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, macos-10.15, windows-2019, windows-2016] continue-on-error: true steps: - - name: Turn of bash -e - run: set +e + - name: Bash setup + run: | + if [ "${RUNNER_OS}" == "macOS" ]; then + # prefer standard GNU tools like date over MacOS defaults + export PATH="/usr/local/opt/coreutils/libexec/gnubin:$(brew --prefix)/opt/gnu-tar/libexec/gnubin:$PATH" + set +e + bash --version - uses: actions/checkout@master with: