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: