Skip to content
Closed
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
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Manual PyPI Publish (release.yml)

on:
workflow_dispatch:
pull_request:

jobs:
publish:
name: Publish to PyPI
runs-on: ubuntu-latest

permissions:
id-token: write
contents: read

steps:
# Use current branch/tag
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install build dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build

- name: Build distribution
run: python -m build

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Loading