Skip to content

Commit

Permalink
Publish using gh-action-pypi-publish@release/v1
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jun 12, 2024
1 parent ead2882 commit c302357
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,12 @@ jobs:
${{ runner.os }}-publish-pip-
- name: Install dependencies
run: |
pip install setuptools wheel twine
- name: Publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
pip install setuptools wheel build
- name: Build
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
python -m build
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1

deploy_static_docs:
runs-on: ubuntu-latest
Expand Down

0 comments on commit c302357

Please sign in to comment.