Reviewed-on: #8 Co-authored-by: Timo Behrendt <t.behrendt@t00n.de> Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
28 lines
687 B
YAML
28 lines
687 B
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- ".gitea/workflows/cd.yaml"
|
|
- ".gitea/workflows/ci.yaml"
|
|
|
|
jobs:
|
|
release:
|
|
name: Release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Increment tag
|
|
id: tag
|
|
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.15
|
|
with:
|
|
token: ${{ secrets.GITEA_TOKEN }}
|
|
- name: Push tag
|
|
uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@0.0.3
|
|
with:
|
|
tag: ${{ steps.tag.outputs.new-tag }}
|