Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bc31fbd099 | |||
| ca4a1ef197 | |||
| 38344ad9e8 | |||
| c4097960ef | |||
| 72a373b703 | |||
| 9555d6ea73 |
@@ -1,15 +0,0 @@
|
||||
name: Release Git tag
|
||||
description: Release the Git tag
|
||||
|
||||
inputs:
|
||||
tag:
|
||||
description: The tag to release
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- shell: bash
|
||||
run: |
|
||||
git tag ${{ inputs.tag }}
|
||||
git push origin ${{ inputs.tag }}
|
||||
@@ -4,6 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
release:
|
||||
@@ -15,9 +16,10 @@ jobs:
|
||||
fetch-depth: 0
|
||||
- name: Increment tag
|
||||
id: tag
|
||||
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.1
|
||||
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@4c32e563bea346792d854585112bf6f06b312ce2 # 0.1.24
|
||||
with:
|
||||
token: ${{ secrets.GITEA_TOKEN }}
|
||||
- uses: ./.gitea/actions/release-git-tag
|
||||
prerelease: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@8a04fa92474f770e525b1e6dd420b471da15c222 # 0.1.0
|
||||
with:
|
||||
tag: ${{ steps.tag.outputs.new-tag }}
|
||||
|
||||
@@ -18,6 +18,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
||||
- name: Validate "${{ matrix.json-file }}"
|
||||
uses: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action@0.1.2
|
||||
uses: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action@3e6f6900956d410f67923617c65f38a7efb228c6 # 0.1.2
|
||||
with:
|
||||
json-file: "./${{ matrix.json-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 }}
|
||||
Reference in New Issue
Block a user