From e1252b785dfb2b6b2a11ce93560ac148f3797dde Mon Sep 17 00:00:00 2001 From: evandrocoan Date: Thu, 26 Mar 2020 01:20:00 -0300 Subject: [PATCH] Fixed checks.yml Mac OS gmake PATH being set on Ubuntu --- .github/workflows/checks.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 34c7f2458..b7334d16d 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -13,9 +13,6 @@ jobs: echo "::set-env name=BUILDFLAGS::" echo "::set-env name=RSPY_TARGET_DIR::${GITHUB_WORKSPACE}/target" echo "::set-env name=CARGO_TARGET_DIR::${GITHUB_WORKSPACE}/target" - # Update make to use the new `.SHELLFLAGS` feature - # https://stackoverflow.com/questions/43175529/updating-make-version-4-1-on-mac - echo "::set-env name=PATH::/usr/local/opt/make/libexec/gnubin:$PATH" # Necessary for now for the cargo cache: # https://github.com/actions/cache/issues/133#issuecomment-599102035 - name: Fix ~/.cache permissions @@ -91,6 +88,9 @@ jobs: run: | # echo "::set-env name=SHELLFLAGS::-x" echo "::set-env name=BUILDFLAGS::" + # Update make to use the new `.SHELLFLAGS` feature + # https://stackoverflow.com/questions/43175529/updating-make-version-4-1-on-mac + echo "::set-env name=PATH::/usr/local/opt/make/libexec/gnubin:$PATH" # Disabled for Mac OS because it was not reusing the cached files # https://github.com/ankitects/anki/pull/528 # echo "::set-env name=RSPY_TARGET_DIR::${GITHUB_WORKSPACE}/target"