add workflow

This commit is contained in:
qwerdvd 2023-10-30 14:36:26 +08:00
parent acab733bd8
commit 5f1b936392
No known key found for this signature in database
GPG Key ID: A3AF89C783404769

14
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,14 @@
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- uses: pdm-project/setup-pdm@v3
- name: Publish package distributions to PyPI
run: pdm publish