Skip to content

Commit

Permalink
update the python-publish workflow file to fix the package publish Gi…
Browse files Browse the repository at this point in the history
…tHub action error
  • Loading branch information
jeongyoonlee authored Jul 8, 2023
1 parent a2c8baf commit 0682a0a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,11 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -U setuptools wheel twine build
pip install -r requirements.txt
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py build_ext --inplace
pip install .
python -m build
python -m twine upload dist/*.tar.gz

0 comments on commit 0682a0a

Please sign in to comment.