Skip to content

Commit

Permalink
Enable PyPI upload step
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis-carlson-sudo committed May 13, 2024
1 parent 1fe8f85 commit d893ed0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ jobs:
- name: Build the package
run: python -m build

# - name: Upload to PyPI
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
# run: twine upload dist/*
# if: github.event_name == 'release' && github.event.action == 'published'
- name: Upload to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: twine upload dist/*
if: github.event_name == 'release' && github.event.action == 'published'

- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit d893ed0

Please sign in to comment.