Skip to content

Commit 25a97d0

Browse files
dwahlerjohnstcn
andauthored
Add brew to path on linux (#64)
Fixes build breakage caused by actions/runner-images#6283 Co-authored-by: Cian Johnston <public@cianjohnston.ie>
1 parent 77bc531 commit 25a97d0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
steps:
1111
- uses: actions/checkout@v1
12+
- run: |
13+
if [[ "$(uname -s)" == "Linux" ]]
14+
then
15+
echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
16+
fi
1217
- run: brew install --build-from-source ./coder-cli.rb
1318
- run: coder --version
1419
coder_cli_nightly:
@@ -18,5 +23,10 @@ jobs:
1823
runs-on: ${{ matrix.os }}
1924
steps:
2025
- uses: actions/checkout@v1
26+
- run: |
27+
if [[ "$(uname -s)" == "Linux" ]]
28+
then
29+
echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
30+
fi
2131
- run: brew install --build-from-source ./coder-cli-nightly.rb
2232
- run: coder --version

0 commit comments

Comments
 (0)