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: |