Skip to content

Commit 629a6e8

Browse files
committed
fix: add tag input to workflow_dispatch for publish trigger
1 parent 8724248 commit 629a6e8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ on:
2020
pull_request:
2121
branches: [main]
2222
workflow_dispatch:
23+
inputs:
24+
tag:
25+
type: string
26+
required: true
27+
description: "Tag to publish (e.g. v1.20.1)"
2328

2429
permissions:
2530
contents: write
@@ -31,4 +36,5 @@ jobs:
3136
uses: hyperi-io/hyperi-ci/.github/workflows/rust-ci.yml@main
3237
with:
3338
publish-target: oss
39+
tag: ${{ inputs.tag || '' }}
3440
secrets: inherit

0 commit comments

Comments
 (0)