File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -44,21 +44,19 @@ jobs:
4444 name : Publish to TestPyPI
4545 needs : build_wheels
4646 runs-on : ubuntu-latest
47- if : github.event_name == 'push' && (github.ref == 'refs/heads/testing-pkg' || startsWith(github.ref, 'refs/tags/'))
48-
47+ if : startsWith(github.ref, 'refs/tags/')
4948 steps :
5049 - name : Download all workflow run artifacts
5150 uses : actions/download-artifact@v2
5251 with :
5352 path : dist
54-
5553 - name : Publish to TestPyPI
56- uses : pypa/gh-action-pypi-publish@release/v1
54+ uses : pypa/gh-action-pypi-publish@v1.9.0
5755 with :
5856 user : __token__
5957 password : ${{ secrets.PYPI_API_TOKEN }}
6058 repository-url : https://test.pypi.org/legacy/
61- packages-dir : dist/*/wheelhouse
59+ packages-dir : dist/*
6260
6361 create_release :
6462 name : Create Release
You can’t perform that action at this time.
0 commit comments