We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38af962 commit 03aaf18Copy full SHA for 03aaf18
.github/workflows/publish_to_test_pypi.yaml
@@ -1,6 +1,12 @@
1
name: Publish Test PyPI Release
2
3
on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ devNumber:
7
+ required: false
8
+ type: number
9
+
10
push:
11
tags: ["*"]
12
@@ -16,9 +22,14 @@ jobs:
16
22
17
23
- run: python -m pip install build
18
24
19
- - name: Set dev version prior to upload
25
+ - name: Set dev version prior to upload (auto)
26
+ if: ${{ github.events.inputs.devNumber == '' }}
20
27
run: python ./scripts/set-dev-version.py
21
28
29
+ - name: Set dev version prior to upload (workflow_dispatch)
30
+ if: ${{ github.events.inputs.devNumber != '' }}
31
+ run: python ./scripts/set-dev-version.py -n ${{ github.events.inputs.devNumber }}
32
33
- run: python -m build .
34
35
- name: Publish to TestPyPI
0 commit comments