File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 3838 - id : musllinux_x86_64
3939 run : echo "wheel_types=musllinux_x86_64" >> $GITHUB_OUTPUT
4040 - id : manylinux_aarch64
41+ if : github.event_name == 'release' && github.event.action == 'published'
4142 run : echo "wheel_types=manylinux_aarch64" >> $GITHUB_OUTPUT
4243 outputs :
4344 wheel_types : ${{ toJSON(steps.*.outputs.wheel_types) }}
@@ -295,6 +296,7 @@ jobs:
295296 upload_pypi :
296297 needs : [test_wheels]
297298 runs-on : ubuntu-latest
299+ if : github.event_name == 'release' && github.event.action == 'published'
298300 steps :
299301 - uses : actions/download-artifact@v4
300302 with :
@@ -304,4 +306,8 @@ jobs:
304306 mv dist/sdist/*.tar.gz dist/
305307 mv dist/*-wheels/*.whl dist/
306308 rmdir dist/{sdist,*-wheels}
307- - run : ls -R dist
309+ ls -R dist
310+ - uses : pypa/gh-action-pypi-publish@release/v1
311+ with :
312+ skip_existing : true
313+ password : ${{ secrets.PYPI_PASSWORD }}
You can’t perform that action at this time.
0 commit comments