Skip to content

Commit

Permalink
fix: pypi version
Browse files Browse the repository at this point in the history
  • Loading branch information
nodtem66 committed Apr 25, 2024
1 parent 2f31705 commit 860503e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,15 @@ jobs:
with:
path: wheelhouse/*.whl

upload_all:
pypi-publish:
name: Upload if release
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/project/PyScaffolder
permissions:
id-token: write
if: github.event.inputs.upload != false

steps:
Expand All @@ -87,8 +92,9 @@ jobs:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@v1
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
#user: __token__
#password: ${{ secrets.PYPI_API_TOKEN }}
skip-existing: true

0 comments on commit 860503e

Please sign in to comment.