Skip to content

Commit

Permalink
ci: use python 3.12 (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergs-pci authored May 3, 2024
1 parent 3ef5321 commit c0b03eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/pre_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ on:
PYTHON_VERSION:
description: "Python Version"
required: false
default: "3.10.13"
default: "3.12.2"
POETRY_VERSION:
description: "The version of Poetry to use"
required: false
default: "1.8.2"
RELEASE_TAG:
description: "The new version should be a valid PEP 440 string"
required: true
default: "0.3.0"
defaults:
run:
working-directory: ./tools
Expand All @@ -25,6 +29,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ inputs.PYTHON_VERSION }}
- run: poetry version ${{ inputs.RELEASE_TAG }}
- run: poetry install
- run: poetry config repositories.testpypi https://test.pypi.org/legacy/
- run: poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on:
PYTHON_VERSION:
description: "Python Version"
required: false
default: "3.10.13"
default: "3.12.2"
POETRY_VERSION:
description: "The version of Poetry to use"
required: false
default: "1.8.2"
RELEASE_TAG:
description: "The new version should be a valid PEP 440 string"
required: true
default: "0.0.1"
default: "0.3.0"
defaults:
run:
working-directory: ./tools
Expand Down

0 comments on commit c0b03eb

Please sign in to comment.