2023-07-12 11:10:24 +02:00
|
|
|
name: release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- '*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2023-07-12 11:20:08 +02:00
|
|
|
- name: setup go
|
2023-07-12 11:24:29 +02:00
|
|
|
uses: 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
|
|
|
|
uses: actions/release-action@main
|
|
|
|
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.
|