Skip to content

v3.5.2

v3.5.2 #8

Workflow file for this run

name: pypi
on:
release:
types: [published]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Setup pdm
uses: pdm-project/setup-pdm@v3
with:
python-version: "3.11"
cache: true
- name: Install build dependencies
run: pdm install --prod
- name: Build package
run: pdm build
- name: Publish package
uses: pypa/gh-action-pypi-publish@82695c57c99db1f956e393b9d68847d85e569381
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}