2023-07-12 11:10:24 +02:00
|
|
|
name: release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- '*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-07-12 14:16:28 +02:00
|
|
|
- uses: https://gitea.ocram85.com/actions/checkout@v3
|
2023-07-12 11:10:24 +02:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2023-07-12 11:20:08 +02:00
|
|
|
- name: setup go
|
2023-07-12 14:16:28 +02:00
|
|
|
uses: https://gitea.ocram85.com/actions/setup-go@v3
|
2023-07-12 11:20:08 +02:00
|
|
|
with:
|
|
|
|
go-version: '>=1.20.1'
|
2023-07-12 11:10:24 +02:00
|
|
|
- name: Use Go Action
|
|
|
|
id: use-go-action
|
2023-07-12 14:16:28 +02:00
|
|
|
uses: https://gitea.ocram85.com/actions/release-action@main
|
2023-07-12 11:10:24 +02:00
|
|
|
with:
|
2023-07-12 12:04:24 +02:00
|
|
|
files: |-
|
|
|
|
CHANGELOG.md
|
2023-07-12 11:10:24 +02:00
|
|
|
api_key: '${{ secrets.TOKEN }}'
|
2023-07-12 12:04:24 +02:00
|
|
|
body: |
|
|
|
|
> :bulb: **Note:** See [CHANGELOG.md](src/branch/main/CHANGELOG.md) for recent changes.
|