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