Browse Source

unset GOPATH to use go mod

Shelikhoo 6 năm trước cách đây
mục cha
commit
f4f2a98e6e
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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: |