build: Add automated release actions

This commit is contained in:
4s3ti 2024-04-13 16:00:00 +02:00
parent f732de20de
commit c706846eef
No known key found for this signature in database
GPG key ID: AC2D3B898F96BC51

20
.github/workflows/release.yaml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Release
on:
workflow_dispatch:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.semrel.outputs.version }}
steps:
- uses: actions/checkout@v3
- uses: go-semantic-release/action@v1
id: semrel
name: Release
with:
github-token: ${{ secrets.GITHUB_TOKEN }}