Skip to content

Commit 4bb5a2d

Browse files
author
Christopher Doris
committed
require version to be specified
1 parent 65e2d88 commit 4bb5a2d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/register-pypi.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@ name: Register to PyPI
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
git_ref:
7+
description: Git tag, branch or commit to register (e.g. v0.9.10)
8+
required: true
59

610
jobs:
711
register:
812
runs-on: ubuntu-latest
913
steps:
10-
- uses: actions/checkout@master
14+
- uses: actions/checkout@v3
15+
ref: ${{ inputs.git_ref }}
1116
- name: Set up Python
1217
uses: actions/setup-python@v3
1318
with:

0 commit comments

Comments
 (0)