From f4f2a98e6ea2ca95a5fb184f8225501528968182 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 3c06ec72a..2ea3bda0d 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: |