Skip to content

Commit

Permalink
Re-enabling release to PyPI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
peekxc committed Dec 4, 2024
1 parent 1a4d182 commit 7233cbe
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,20 @@ jobs:
path: wheelhouse/*.whl


# upload_all:
# needs: [build_wheels]
# environment: pypi
# permissions:
# id-token: write
# runs-on: ubuntu-latest
# # if: github.event_name == 'release' && github.event.action == 'published'
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
# steps:
# - uses: actions/download-artifact@v3
# with:
# name: artifact
# path: |
# dist
# wheelhouse
# dist/wheelhouse
# - uses: pypa/gh-action-pypi-publish@release/v1
upload_all:
needs: [build_wheels]
environment: pypi
permissions:
id-token: write
runs-on: ubuntu-latest
# if: github.event_name == 'release' && github.event.action == 'published'
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/download-artifact@v3
with:
name: artifact
path: |
dist
wheelhouse
dist/wheelhouse
- uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 7233cbe

Please sign in to comment.