Skip to content

Commit

Permalink
ci: restore workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
luizdesuo committed Oct 11, 2024
1 parent 2620d59 commit 791e319
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,20 @@ jobs:
repository-url: https://test.pypi.org/legacy/
password: ${{ secrets.TEST_PYPI_API_TOKEN }}

# - name: Test install from TestPyPI
# run: |
# pip install \
# --index-url https://test.pypi.org/simple/ \
# --extra-index-url https://pypi.org/simple \
# banquo
- name: Test install from TestPyPI
if: steps.release.outputs.released == 'true'
run: |
pip install \
--index-url https://test.pypi.org/simple/ \
--extra-index-url https://pypi.org/simple \
banquo
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# if: steps.release.outputs.released == 'true'
if: steps.release.outputs.released == 'true'
with:
password: ${{ secrets.PYPI_API_TOKEN }}

- name: Publish package distributions to GitHub Releases
uses: python-semantic-release/upload-to-gh-release@main
if: steps.release.outputs.released == 'true'
Expand Down

0 comments on commit 791e319

Please sign in to comment.