2024-01-13 18:27:06 +01:00
|
|
|
name: 'CI'
|
2024-01-13 17:37:31 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
|
|
|
|
jobs:
|
2024-01-13 18:27:06 +01:00
|
|
|
release:
|
|
|
|
if: startsWith(github.ref, 'refs/tags/')
|
2024-01-13 17:37:31 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-01-13 19:44:13 +01:00
|
|
|
- name: Setup Go
|
|
|
|
uses: actions/setup-go@v3
|
|
|
|
with:
|
|
|
|
go-version: '1.20'
|
2024-01-13 18:27:06 +01:00
|
|
|
|
2024-01-13 19:44:13 +01:00
|
|
|
- name: Use Go Action
|
|
|
|
id: use-go-action
|
|
|
|
uses: https://git.beisel.it/florian/gitea-release-drafter@v1
|
2024-01-13 18:27:06 +01:00
|
|
|
with:
|
2024-01-13 19:44:13 +01:00
|
|
|
username: foo
|