Skip to content

Commit

Permalink
Add python version input
Browse files Browse the repository at this point in the history
  • Loading branch information
luis11011 committed May 19, 2023
1 parent a3d7215 commit f3f227b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/python-manually-publish-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ on:
workflow_dispatch:
inputs:
new_version:
description: 'New version'
description: 'New PyOptimus version (TestPyPI)'
required: true
python_version:
description: 'Python version'
default: '3.10'

jobs:
update-version-and-create-tag:
Expand All @@ -15,10 +18,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python 3.10
- name: Set up Python ${{ github.event.inputs.python_version }}
uses: actions/setup-python@v2
with:
python-version: '3.10'
python-version: '${{ github.event.inputs.python_version }}'

- name: Update version in toml file
run: |
Expand Down

0 comments on commit f3f227b

Please sign in to comment.