Use env and path injection instead of old style

This commit is contained in:
crazywhalecc
2026-03-20 09:31:43 +08:00
parent c6207d8c7c
commit 11376cc6ad
2 changed files with 6 additions and 26 deletions

View File

@@ -2,5 +2,11 @@ go-xcaddy:
type: target
artifact:
binary: custom
env:
GOROOT: '{pkg_root_path}/go-xcaddy'
GOBIN: '{pkg_root_path}/go-xcaddy/bin'
GOPATH: '{pkg_root_path}/go-xcaddy/go'
path@unix:
- '{pkg_root_path}/go-xcaddy/bin'
static-bins:
- xcaddy