Skip to content

Commit

Permalink
Fix goreleaser issue
Browse files Browse the repository at this point in the history
  • Loading branch information
debek committed Dec 24, 2023
1 parent fdbc99c commit 556b6ca
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ jobs:
with:
go-version: 1.21.5

- name: Run GoReleaser
if: github.event_name == 'workflow_dispatch'
run: goreleaser release --rm-dist --release-notes "Release version ${{ github.event.inputs.version }}"
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist --release-notes "Release version ${{ github.event.inputs.version }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 556b6ca

Please sign in to comment.