From d123109fcd46dfd05c33b24feac0d25c11aab927 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Mon, 15 Apr 2019 19:12:43 +0800 Subject: [PATCH] unset GOPATH to use go mod --- azure-pipelines.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 41f8c0de..9a222023 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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: |