action: add GOTOOLCHAIN=local in build.yml

This commit is contained in:
wwqgtxx 2023-12-09 09:24:41 +08:00
parent 582ac28728
commit da65f8f935

View File

@ -129,6 +129,7 @@ jobs:
run: |
echo "TAGS=with_gvisor,with_lwip" >> $GITHUB_ENV
echo "LDFLAGS=-X 'github.com/metacubex/mihomo/constant.Version=${VERSION}' -X 'github.com/metacubex/mihomo/constant.BuildTime=${BUILDTIME}' -w -s -buildid=" >> $GITHUB_ENV
echo "GOTOOLCHAIN=local" >> $GITHUB_ENV
shell: bash
- name: Setup Go