From a842b105cb49ec47bd254d9d0a4cca69e7ab4d1b Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Thu, 7 Apr 2022 09:06:33 -0500 Subject: [PATCH] Ensure windows executables have .exe on them --- .github/workflows/build.yaml | 4 ++-- Makefile | 2 +- main.go => chia-exporter.go | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename main.go => chia-exporter.go (100%) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 70ab1dc..43b1525 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -26,10 +26,10 @@ jobs: run: make build - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: chia-exporter-${{ matrix.GOOS }}-${{ matrix.GOARCH }} - path: ${{ github.workspace }}/bin/chia-exporter + path: ${{ github.workspace }}/bin/chia-exporter* release: runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index b9aca2b..a9210ff 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ all: fmt lint vet build build: $(BIN) ; $(info $(M) building executable…) @ ## Build program binary $Q CGO_ENABLED=0 $(GO) build \ -tags release \ - -o $(BIN)/$(notdir $(basename $(MODULE))) main.go + -o $(BIN)/ $(notdir $(basename $(MODULE))).go # Tools $(BIN): diff --git a/main.go b/chia-exporter.go similarity index 100% rename from main.go rename to chia-exporter.go