Skip to content

Commit

Permalink
Apply suggestions to the deployment workflow (#221)
Browse files Browse the repository at this point in the history
* Clean up deployment workflow

* Use full URL for reference name

Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
  • Loading branch information
HexDecimal and webknjaz authored Aug 29, 2024
1 parent a21c657 commit c93f910
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,11 @@ jobs:
deploy:
needs: isolated_tests
if: startsWith(github.ref, 'refs/tags/')
if: github.ref_type == 'tag'
runs-on: ubuntu-latest
environment:
name: deploy
url: https://pypi.org/project/delocate/
name: pypi
url: https://pypi.org/project/delocate/${{ github.ref_name }}/
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -206,5 +206,3 @@ jobs:
name: delocate-sdist
path: dist/
- uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true

0 comments on commit c93f910

Please sign in to comment.