Skip to content

Commit

Permalink
Update workflow to use gh-action-pypi-publish (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Czaki committed Mar 27, 2023
1 parent 3a27b6b commit b241ef9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yaml
Expand Up @@ -87,11 +87,11 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -U setuptools setuptools_scm wheel twine build
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_API_KEY }}
- name: Build
run: |
git tag
python -m build .
twine upload dist/*
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TWINE_API_KEY }}

0 comments on commit b241ef9

Please sign in to comment.