From 5c492986a55334bcb1b7b573268566289b45fe43 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Sat, 23 Oct 2021 10:58:56 -0700 Subject: [PATCH] fixes for windows collector build. --- .github/workflows/release-windows.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-windows.yaml b/.github/workflows/release-windows.yaml index cedfc88..1e01482 100644 --- a/.github/workflows/release-windows.yaml +++ b/.github/workflows/release-windows.yaml @@ -38,7 +38,8 @@ jobs: echo "building collector binary (OS = ${GOOS}, ARCH = ${GOARCH})" go build -ldflags "-extldflags=-static -X main.goos=${GOOS} -X main.goarch=${GOARCH}" -o $GITHUB_WORKSPACE/dist/scrutiny-collector-metrics-${GOOS}-${GOARCH}.exe -tags "static netgo" collector/cmd/collector-metrics/collector-metrics.go - + ls $GITHUB_WORKSPACE/dist/scrutiny-collector-metrics-${GOOS}-${GOARCH}.exe + - name: Release Asset - Collector - windows-amd64 id: upload-release-asset2 uses: actions/upload-release-asset@v1