server-status-client/.github/workflows/pypi-publish.yml

22 lines
355 B
YAML
Raw Permalink Normal View History

2024-10-02 12:47:32 +08:00
name: Publish
on:
push:
tags:
- '*'
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