From e55b07d17bd0a706671fe12f7c5b0d63818da4fe Mon Sep 17 00:00:00 2001 From: snowykami Date: Thu, 10 Oct 2024 01:03:40 +0800 Subject: [PATCH] :sparkles: first comm --- .github/workflows/pypi-publish.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/pypi-publish.yml diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml new file mode 100644 index 0000000..4ede3b5 --- /dev/null +++ b/.github/workflows/pypi-publish.yml @@ -0,0 +1,20 @@ +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