diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..36dce58 --- /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 }}