Skip to content

Commit

Permalink
fix: add /usr/local/bin/go to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
warner committed Apr 24, 2020
1 parent afedb56 commit 217a9a8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .appveyor/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
image: Visual Studio 2019
build: off

# the worker clones the repo into the clone folder, cds there, then:
# the worker clones the repo into the clone folder
# (/mnt/c/projects/agoric-sdk), cds there, then runs each of the following
# steps. Each step is run from /mnt/c/projects/agoric-sdk, even if it uses
# 'cd' internally (i.e. each step is run in a separate shell).
install:
- ps: wsl -- .appveyor/no-stderr .appveyor/install-go.sh
- ps: wsl -- .appveyor/no-stderr .appveyor/install-nvm.sh
Expand Down
3 changes: 2 additions & 1 deletion .appveyor/build.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/bash -ie

export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
export PATH="/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

echo "pwd is"
pwd

nvm use v13.11.0
echo "running nvm current"
Expand Down
3 changes: 2 additions & 1 deletion .appveyor/test.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/bash -ie

export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
export PATH="/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

echo "pwd is"
pwd

nvm use v13.11.0
echo "running nvm current"
Expand Down

0 comments on commit 217a9a8

Please sign in to comment.