unset GOPATH to use go mod

pull/2531/head
Shelikhoo 2019-04-15 19:12:43 +08:00 committed by Nicholas Wang
parent 7962aba52e
commit d123109fcd
No known key found for this signature in database
GPG Key ID: F20CA399C9BD9100
1 changed files with 3 additions and 1 deletions

View File

@ -72,7 +72,9 @@ jobs:
displayName: Apt Install
- script: |
go version
go get -v -t -d v2ray.com/core/...
#go get -v -t -d v2ray.com/core/...
unset GOPATH
go get -v -t -d github.com/v2fly/v2ray-core/...
workingDirectory: '$(GOPATH)'
displayName: 'Fetch sources'
- script: |