From dd4cb37dfd4a1ea5c80e6bf422d42801b22df8b5 Mon Sep 17 00:00:00 2001 From: "honwen.chan" Date: Tue, 16 Feb 2021 23:26:04 +0800 Subject: [PATCH] ensure static-linked --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 29da955..cb9c84d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,9 @@ jobs: build: name: Build and release runs-on: ubuntu-latest + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: true + steps: - name: Check out @@ -27,6 +30,7 @@ jobs: uses: tobyxdd/go-cross-build@e269fe09a60b9a6a7325cb06075e32ab1b7c2d12 env: TIME: "${{ steps.current-time.outputs.time }}" + CGO_ENABLED: "0" with: name: hysteria dest: ./dist/