From 59d437b9d2458f143813135bac76685be979df10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Tue, 19 Mar 2024 13:02:56 +0800 Subject: [PATCH] Use local legacy compiler --- .goreleaser.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 63efeb5e..e047585d 100644 --- a/.goreleaser.yaml +++ b/.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