magicoca/.github/workflows/pypi-publish.yml

22 lines
356 B
YAML
Raw Normal View History

2024-10-10 01:03:40 +08:00
name: Publish
on:
2024-10-10 01:19:02 +08:00
push:
tags:
2024-10-12 23:34:36 +08:00
- 'v*'
2024-10-10 01:03:40 +08:00
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: pdm-project/setup-pdm@v3
- name: Publish package distributions to PyPI
run: pdm publish