Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy to PyPI

on:
workflow_dispatch:

jobs:
deploy:
name: Publish to PyPI
runs-on: ubuntu-latest
environment: pypi
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Download wheels from latest GitHub Release
run: |
mkdir -p dist
gh release download --pattern '*.whl' --dir dist
echo "Downloaded wheels:"
ls -la dist/
env:
GH_TOKEN: ${{ github.token }}
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ./dist/
Loading