chore: fix broken version #19
Workflow file for this run
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 Publish | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
# Build it. | |
build-package: | |
name: Build & inspect package | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: hynek/build-and-inspect-python-package@v2 | |
# Publish to PyPI. | |
pypi-publish: | |
needs: build-package | |
name: Upload release to PyPI | |
runs-on: ubuntu-latest | |
environment: release | |
steps: | |
- name: Download packages built by build-and-inspect-python-package | |
uses: actions/download-artifact@v4 | |
with: | |
name: Packages | |
path: dist | |
- name: Publish package distributions to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 |