ci: refactor release and prerelease into single workflow (#22)
All checks were successful
CD / Release (push) Successful in 9s

Reviewed-on: #22
Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #22.
This commit is contained in:
2025-12-12 20:33:13 +01:00
committed by t.behrendt
parent 9555d6ea73
commit 72a373b703
2 changed files with 2 additions and 22 deletions

View File

@@ -4,6 +4,7 @@ on:
push:
branches:
- main
workflow_dispatch:
jobs:
release:
@@ -18,6 +19,7 @@ jobs:
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.1
with:
token: ${{ secrets.GITEA_TOKEN }}
prerelease: ${{ github.event_name == 'workflow_dispatch' }}
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@0.0.3
with:
tag: ${{ steps.tag.outputs.new-tag }}

View File

@@ -1,22 +0,0 @@
name: Prerelease
on:
workflow_dispatch:
jobs:
prerelease:
name: Prerelease
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # 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.1
with:
token: ${{ secrets.GITEA_TOKEN }}
prerelease: true
- uses: ./.gitea/actions/release-git-tag
with:
tag: ${{ steps.tag.outputs.new-tag }}