Skip to content

Commit

Permalink
ci: use goreleaser to generate binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
scastlara committed Dec 5, 2024
1 parent eb19061 commit f8497e9
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,27 @@ on:
tags:
- "v*.*.*"


permissions:
contents: write

jobs:
build:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
token: "${{ secrets.GITHUB_TOKEN }}"
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Run goreleaser
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: v1.17.2
args: release --clean
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
docker:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit f8497e9

Please sign in to comment.