Skip to content

Commit

Permalink
Updated push to pypi gha.
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelalonsojr committed Oct 9, 2023
1 parent 7091c46 commit ddf1531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ jobs:
python setup.py bdist_wheel
- name: Publish distribution 📦 to Test PyPI
if: startsWith(github.ref, 'refs/tags') && contains(github.ref, 'test')
uses: actions/gh-action-pypi-publish@717ba43cfbb0387f6ce311b169a825772f54d295
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.TEST_PYPI_PASSWORD }}
repository_url: https://test.pypi.org/legacy/
packages_dir: ${{ matrix.package-path }}/dist/
- name: Publish distribution 📦 to Production PyPI
if: startsWith(github.ref, 'refs/tags') && !contains(github.ref, 'test')
uses: actions/gh-action-pypi-publish@717ba43cfbb0387f6ce311b169a825772f54d295
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_PASSWORD }}
packages_dir: ${{ matrix.package-path }}/dist/

0 comments on commit ddf1531

Please sign in to comment.