Skip to content

Commit

Permalink
should now push to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoldverg committed Jun 16, 2023
1 parent f4f4f78 commit 3359409
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/build_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,17 @@ jobs:
run: |
python setup.py sdist bdist_wheel
- name: Upload package to pypi
shell: bash
run: |
twine upload --skip-existing dist/*
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}

# - name: Upload package to pypi
# shell: bash
# run: |
# twine upload --skip-existing dist/*
# env:
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit 3359409

Please sign in to comment.