diff --git a/.github/workflows/server-build.yml b/.github/workflows/server-build.yml index c0d809f..efe5633 100644 --- a/.github/workflows/server-build.yml +++ b/.github/workflows/server-build.yml @@ -83,13 +83,6 @@ jobs: GOOS: darwin GOARCH: amd64 - - name: Build Windows x86 - working-directory: ${{env.working-directory}} - run: make build-arch - env: - GOOS: windows - GOARCH: amd64 - - name: Create Release uses: actions/create-release@v1 id: create_release diff --git a/Makefile b/Makefile index c42be3d..8cc1b59 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ endif ifndef GOARCH echo "GOARCH must be defined"; exit 1; endif - echo ">> building linux binary" + echo ">> building $(GOOS) $(GOARCH) binary" env GOOS=$(GOOS) GOARCH=$(GOARCH) go build -o ${BIN_DIR}/prometheus-aggregate-exporter-$(GOOS)-$(GOARCH) -ldflags "-X main.Version=${GIT_TAG}" ./cmd # Manual Testing