Files
django-nepali-payments/.github/workflows/release.yml
T
2026-09-03 01:36:12 +05:45

24 lines
512 B
YAML

name: Release to PyPI
on:
release:
types: [published]
permissions:
contents: read
jobs:
deploy:
name: Build and publish to PyPI
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v5
with:
python-version: "3.12"
- name: Build sdist and wheel
run: uv build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist/