Files
k_deploy_workflows/.gitea/workflows/release.yaml
T

29 lines
808 B
YAML

name: Release
on:
push:
branches:
- main
paths:
- ".gitea/workflows/deploy.yaml"
- ".gitea/workflows/validate.yaml"
workflow_dispatch:
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0
- name: Increment tag
id: tag
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@b8806ee0141a44be30e8734dff15001361be100c # 0.1.35
with:
token: ${{ secrets.GITEA_TOKEN }}
- name: Push tag
uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@0841ccc70fc2c1526123785f3b0a510a6ba4bdfc # 0.2.7
with:
tag: ${{ steps.tag.outputs.new-tag }}