Skip to content

Commit f3f227b

Browse files
committed
Add python version input
1 parent a3d7215 commit f3f227b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Diff for: .github/workflows/python-manually-publish-test.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ on:
44
workflow_dispatch:
55
inputs:
66
new_version:
7-
description: 'New version'
7+
description: 'New PyOptimus version (TestPyPI)'
88
required: true
9+
python_version:
10+
description: 'Python version'
11+
default: '3.10'
912

1013
jobs:
1114
update-version-and-create-tag:
@@ -15,10 +18,10 @@ jobs:
1518
- name: Checkout code
1619
uses: actions/checkout@v2
1720

18-
- name: Set up Python 3.10
21+
- name: Set up Python ${{ github.event.inputs.python_version }}
1922
uses: actions/setup-python@v2
2023
with:
21-
python-version: '3.10'
24+
python-version: '${{ github.event.inputs.python_version }}'
2225

2326
- name: Update version in toml file
2427
run: |

0 commit comments

Comments
 (0)