From ea19417336cb1651fdfe5aee22f810375b799ae9 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Thu, 8 Sep 2022 13:27:05 +0200 Subject: [PATCH] Also build for windows (#42) --- .github/workflows/release.yml | 3 ++- .goreleaser => .goreleaser.yaml | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) rename .goreleaser => .goreleaser.yaml (96%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9721a982..c04eafcd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,7 @@ on: push: tags: - "v*" + jobs: goreleaser: runs-on: ubuntu-latest @@ -23,7 +24,7 @@ jobs: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v3.1.0 with: version: latest args: release --rm-dist diff --git a/.goreleaser b/.goreleaser.yaml similarity index 96% rename from .goreleaser rename to .goreleaser.yaml index bcf16e53..8f21dbb7 100644 --- a/.goreleaser +++ b/.goreleaser.yaml @@ -1,6 +1,6 @@ - -hooks: - - go mod tidy +before: + hooks: + - go mod tidy builds: - env: - CGO_ENABLED=0