Skip to content

Commit

Permalink
πŸ’š Update GH Action
Browse files Browse the repository at this point in the history
  • Loading branch information
hf-krechan committed Sep 28, 2023
1 parent bb6eb1f commit 1e57a37
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,12 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.10.x"
- name: Install dependencies
- name: Install pip, build and twine
run: |
python -m pip install --upgrade pip
pip install setuptools setuptools-scm wheel twine
- name: Build a binary wheel and a source tarball
run: |
python setup.py sdist bdist_wheel
python -m pip install --upgrade --disable-pip-version-check pip
python -m pip install --upgrade build twine
- name: Build wheel and source distributions
run: python -m build
- name: Publish distribution πŸ“¦ to PyPI
if: startsWith(github.ref, 'refs/tags/v')
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit 1e57a37

Please sign in to comment.