Skip to content

Commit

Permalink
add simple release CI workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Lamarre <alex7285@gmail.com>
  • Loading branch information
alexandreLamarre committed May 23, 2024
1 parent 8e5280d commit 360a3d5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name : Release

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v5
with:
go-version: 1.22
cache : false # prevents cache poisoning for release artifacts through go mod cache
- uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 360a3d5

Please sign in to comment.