Browse Source

Use local legacy compiler

世界 1 năm trước cách đây
mục cha
commit
59d437b9d2
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      .goreleaser.yaml

+ 2 - 2
.goreleaser.yaml

@@ -48,8 +48,8 @@ builds:
       - with_clash_api
     env:
       - CGO_ENABLED=0
-      - GOROOT=/nix/store/cpfvjwc7d5hai3iar78h86iwnvgppjrg-go-1.20.14/share/go
-    gobinary: /nix/store/cpfvjwc7d5hai3iar78h86iwnvgppjrg-go-1.20.14/bin/go
+      - GOROOT={{ .Env.GOPATH }}/go1.20.14
+    gobinary: "{{ .Env.GOPATH }}/go1.20.14/bin/go"
     targets:
       - windows_amd64_v1
       - windows_386