From 33e370e90fe787119d08e0a78e04856628aac444 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Sat, 23 Oct 2021 11:02:14 -0700 Subject: [PATCH] fix paths. --- .github/workflows/release-windows.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-windows.yaml b/.github/workflows/release-windows.yaml index 1e01482..e920fb7 100644 --- a/.github/workflows/release-windows.yaml +++ b/.github/workflows/release-windows.yaml @@ -34,12 +34,12 @@ jobs: - name: Build Binaries shell: bash run: | - mkdir -p $GITHUB_WORKSPACE/dist + mkdir -p $GITHUB_WORKSPACE\dist 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 - + 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