From 7a32acec687b14f44937a2c141ee10edcaefc76c Mon Sep 17 00:00:00 2001 From: spideyz0r <47341410+spideyz0r@users.noreply.github.com> Date: Sun, 28 Apr 2024 22:35:20 -0400 Subject: [PATCH] Update golang release --- .github/workflows/release.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 39c5aca..bdf61bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,16 +13,21 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - + name: Checkout + uses: actions/checkout@v4 with: fetch-depth: 0 - - run: git fetch --force --tags - - uses: actions/setup-go@v4 - with: - go-version: stable - - uses: goreleaser/goreleaser-action@v4 + - + name: Set up Go + uses: actions/setup-go@v4 + - + name: Run GoReleaser + uses: goreleaser/goreleaser-action@v5 with: + # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser + # 'latest', 'nightly', or a semver version: latest args: release --clean env: