Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ jobs:
name: Publish wheels to PyPi
needs: [build_sdist, build_wheels]
runs-on: ubuntu-latest
# https://docs.pypi.org/trusted-publishers/using-a-publisher/
permissions:
id-token: write
steps:
- name: Download packages
uses: actions/download-artifact@v7
Expand All @@ -85,10 +88,5 @@ jobs:
- name: Print out packages
run: ls -la dist/*

- name: Upload wheels to pypi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.pypi_password }}
run: |
python -m pip install --upgrade pip setuptools wheel packaging twine
twine upload dist/*
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Loading