Skip to content

Commit

Permalink
Manually go path
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakknutsen authored Aug 20, 2019
1 parent 56e67be commit 7a82f50
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,19 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Setup ENV
run: |
export PATH=$GOPATH/bin:$PATH
go env
- name: Get tools
run: |
export PATH=$PATH:$(go env GOPATH)/bin
make tools
ls -l $GOPATH/bin
echo $PATH
- name: Get dependencies
run: |
export PATH=$PATH:$(go env GOPATH)/bin
if [ -f Gopkg.toml ]; then
make deps
fi
- name: Build main
run: make compile
run: |
export PATH=$PATH:$(go env GOPATH)/bin
make compile

0 comments on commit 7a82f50

Please sign in to comment.