Explorar o código

unset GOPATH to use go mod

Shelikhoo %!s(int64=6) %!d(string=hai) anos
pai
achega
f4f2a98e6e
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      azure-pipelines.yml

+ 3 - 1
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: |