Update release.yml
This commit is contained in:
1 parent
7e2d4a981e
commit
d55accd23a
1 file changed
+9
@@ -4,6 +4,13 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
release_version:
|
||||||
|
description: 'Release version (e.g., v1.0.0)'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -48,3 +55,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
artifacts: "trials_patcher"
|
artifacts: "trials_patcher"
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
tag: ${{ github.event.inputs.release_version || github.ref_name }}
|
||||||
|
name: ${{ github.event.inputs.release_version || github.ref_name }}
|
||||||
Reference in new issue
Block a user