From ececd4ed96b7e16493655131ae734b479aadd117 Mon Sep 17 00:00:00 2001 From: 4s3ti <4s3ti@4s3ti.net> Date: Sat, 13 Apr 2024 16:00:00 +0200 Subject: [PATCH] build: Add automated release actions --- .github/workflows/release.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 00000000..36dce58e --- /dev/null +++ b/.github/workflows/release.yaml @@ -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 }}