Skip to content

Commit

Permalink
Relax Python 3.10 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeTux committed Jan 4, 2023
1 parent e835cb8 commit 9a7cea4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.10.0
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.10.0
python-version: 3.10

- name: Gets the tag version
id: context
Expand All @@ -33,7 +33,7 @@ jobs:
proj_version=$(poetry version -s)
if [ $proj_version != $TAG_VERSION ]; then echo "Version $proj_version, defined in pyproject.toml, does not match TAG $TAG_VERSION of this release"; exit 3; fi
poetry update
poetry publish --build -u __token__ -p $PYPI_TOKEN
poetry publish --build --dry-run -u __token__ -p $PYPI_TOKEN
env:
TAG_VERSION: ${{ steps.context.outputs.TAG_VERSION }}
PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 9a7cea4

Please sign in to comment.