Skip to content

Commit

Permalink
Added PyPI publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tuffnatty committed Dec 17, 2023
1 parent 0d574b0 commit 307a7ec
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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

0 comments on commit 307a7ec

Please sign in to comment.