Skip to content

Commit

Permalink
pypi api token for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bnb32 committed Jun 2, 2023
1 parent c50fe09 commit 3f62105
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install setuptools wheel
- name: Build a binary wheel
run:
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 3f62105

Please # to comment.