File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -44,16 +44,17 @@ jobs:
4444 requirements-dev.txt
4545 setup.py
4646 deploy :
47- name : Build deploy
47+ name : Build and publish to PyPI
4848 runs-on : ubuntu-latest
4949 permissions :
5050 contents : read
5151 id-token : write
5252 steps :
5353 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5454 - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
55- - uses : casperdcl/deploy-pypi@928e3123266d588b46c017228f9a9d4c13ad4c93 # v2.5.0
55+ - run : python -m pip install --upgrade build
56+ - run : python -m build
57+ - uses : pypa/gh-action-pypi-publish@release/v1
5658 with :
57- build : true
58- # only upload if a tag is pushed (otherwise just build & check)
59- upload : ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') }}
59+ skip-existing : true
60+ if : ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
You can’t perform that action at this time.
0 commit comments