Skip to content

Commit e1e0f7e

Browse files
committed
feat: add workflow_dispatch input for manual release triggers
Signed-off-by: Frost Ming <me@frostming.com>
1 parent 0a8d532 commit e1e0f7e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,18 @@ on:
33
push:
44
tags:
55
- "*"
6+
workflow_dispatch:
7+
inputs:
8+
ref:
9+
description: "Git ref to release, such as a tag name"
10+
required: false
611
jobs:
712
build:
813
runs-on: ubuntu-latest
914
steps:
1015
- uses: actions/checkout@v6
16+
with:
17+
ref: ${{ inputs.ref || github.ref }}
1118
- name: Setup Python
1219
uses: actions/setup-python@v6
1320
with:

0 commit comments

Comments
 (0)