From 923c7ca29312f0518471e15d1155b154276b64da Mon Sep 17 00:00:00 2001 From: Streamlet Date: Fri, 28 Jul 2023 02:17:46 +0800 Subject: [PATCH] use CGO_ENABLED=0 when go build --- .github/workflows/autobuild.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 358320d..fc238cb 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v3 - name: Build - run: go build -v . + run: CGO_ENABLED=0 go build -v . - name: Make package run: tar -zcvf NoteIsSite.tar.gz NoteIsSite