Skip to content

.github/workflows/pypi-publish.yml #2

.github/workflows/pypi-publish.yml

.github/workflows/pypi-publish.yml #2

Workflow file for this run

on:
push:
tags:
- v*
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/zstd-asgi
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
- run: |
python -m pip install --upgrade pip
pip install build
- run: python -m build
- uses: pypa/gh-action-pypi-publish@release/v1