workflows/tests: tweak PATH setup.
This commit is contained in:
parent
4c0a73222b
commit
9667d45f10
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
@ -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: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user