PyPI deploy #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PyPI deploy | |
on: | |
workflow_dispatch: | |
jobs: | |
pypi-deploy: | |
name: Deploying Python Package | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# setuptools_scm requires a non-shallow clone of the repository | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
name: Install Python | |
- name: Build SDist | |
run: pipx run build --sdist | |
- uses: pypa/[email protected] |