Skip to content

Commit

Permalink
go releaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
mrwormhole committed Dec 23, 2024
1 parent daac70b commit 719f476
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/releaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,21 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.23

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Fetch all tags
run: git fetch --force --tags
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.23

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --rm-dist
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 719f476

Please sign in to comment.