mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-22 14:17:38 +08:00
21 lines
359 B
YAML
21 lines
359 B
YAML
|
name: Publish
|
||
|
|
||
|
on:
|
||
|
release:
|
||
|
types: [published]
|
||
|
|
||
|
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
|