Skip to content

Commit

Permalink
chore: set python3.10 in workflow pypi publish
Browse files Browse the repository at this point in the history
  • Loading branch information
LinarSharifullin authored Nov 23, 2024
1 parent 8cf639c commit 05c51d5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,17 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
python-version: "3.10"
- name: Install dependencies
run: |
pip install --upgrade pip
pip install build
pip install --upgrade pkginfo
pip install --upgrade twine
- name: Extract tag name
id: tag
run: echo TAG_NAME=$(echo $GITHUB_REF | cut -d / -f 3) >> $GITHUB_OUTPUT
- name: Update version in pyproject.toml
run: >-
sed -i "s/0.0.0/${{ steps.tag.outputs.TAG_NAME }}/" pyproject.toml
- name: print pyproject.toml
run: cat pyproject.toml
- name: Build package
run: python -m build
- name: Publish package
Expand Down

0 comments on commit 05c51d5

Please sign in to comment.