From 3cfb1c3c7c2c5f5aa38540bbb2288c4fe40a3788 Mon Sep 17 00:00:00 2001 From: heliannuuthus Date: Sun, 29 Oct 2023 21:25:42 +0800 Subject: [PATCH] test ci --- .github/workflows/call-golang-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/call-golang-build.yml b/.github/workflows/call-golang-build.yml index dc99c55..b607148 100644 --- a/.github/workflows/call-golang-build.yml +++ b/.github/workflows/call-golang-build.yml @@ -44,7 +44,7 @@ jobs: echo "$GOOS" echo "$GOARCH" mkdir build - CGO_ENABLE=0 GOOS=linux GOARCH=amd64 go build -a -o build/${{ github.repository }} ${{ inputs.ENTRANCE }} + CGO_ENABLE=0 GOOS=${{ input.GOOS }} GOARCH=${{ input.GOARCH }} go build -a -o build/${{ github.repository }} ${{ inputs.ENTRANCE }} - id: environments name: environments run: |