workflows/tests: tweak PATH setup.

This commit is contained in:
Mike McQuaid 2020-03-04 11:37:23 +00:00 committed by GitHub
parent 4c0a73222b
commit 9667d45f10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,8 +13,13 @@ jobs:
steps:
- name: Set up Git repository
uses: actions/checkout@v1
- name: Add Homebrew path
run: echo "::add-path::/home/linuxbrew/.linuxbrew/bin:/usr/local/bin:/usr/bin:/bin"
- name: Set up Homebrew PATH
run: |
if [ "$RUNNER_OS" = "macOS" ]; then
echo "::add-path::/usr/local/bin:/usr/bin:/bin"
else
echo "::add-path::/home/linuxbrew/.linuxbrew/bin:/usr/bin:/bin"
fi
- name: Set up Homebrew
run: |