Update Gitea publish workflow by adding input for tag name in release process
This commit is contained in:
@@ -5,6 +5,11 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- 'v*'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
tag_name:
|
||||||
|
description: 'Tag name for the release'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
@@ -48,6 +53,7 @@ jobs:
|
|||||||
- name: Create Release and Upload Assets
|
- name: Create Release and Upload Assets
|
||||||
uses: https://git.quad4.io/actions/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
|
uses: https://git.quad4.io/actions/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
|
||||||
with:
|
with:
|
||||||
|
tag_name: ${{ github.event.inputs.tag_name || github.ref_name }}
|
||||||
files: |
|
files: |
|
||||||
software-station
|
software-station
|
||||||
bom.json
|
bom.json
|
||||||
|
|||||||
Reference in New Issue
Block a user