Skip to content

v0.8.0

v0.8.0 #21

Workflow file for this run

name: Release
on:
release:
types:
- published
env:
DEFAULT_PYTHON: "3.13"
jobs:
release-pypi:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: PyPI
url: https://pypi.org/project/python-typing-update/
permissions:
id-token: write # Required for publishing with OIDC to PyPI
contents: write # Required to upload release assets
steps:
- name: Check out code from Github
uses: actions/[email protected]
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
id: python
uses: actions/[email protected]
with:
python-version: ${{ env.DEFAULT_PYTHON }}
- name: Build distributions
run: |
python -m pip install build
python -m build
- name: Upload to PyPI
if: github.event_name == 'release'
uses: pypa/[email protected]
- name: Upload release assets
uses: softprops/[email protected]
with:
files: |
dist/*.whl
dist/*.tar.gz