修正工作流

This commit is contained in:
远野千束 2024-08-19 00:06:24 +08:00
parent 775596b5bf
commit 832cc2ec44

View File

@ -1,12 +1,8 @@
name: Publish name: Publish
on: on:
push: release:
branches: types: [published]
- main
tags:
- '*'
workflow_dispatch:
jobs: jobs:
pypi-publish: pypi-publish:
@ -21,4 +17,4 @@ jobs:
- uses: pdm-project/setup-pdm@v3 - uses: pdm-project/setup-pdm@v3
- name: Publish package distributions to PyPI - name: Publish package distributions to PyPI
run: pdm publish run: pdm publish