Skip to content

Commit

Permalink
add github release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoBrigitte committed Nov 21, 2024
1 parent adb5dc1 commit 48abc85
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: release

on:
push:
tags:
- v*

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
- uses: goreleaser/goreleaser-action@v6
with:
args: release --clean
version: "~> v2"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_BRANCH: ${{ vars.BUILD_BRANCH }}
BUILD_USER: ${{ vars.BUILD_USER }}

0 comments on commit 48abc85

Please sign in to comment.