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:
44
44
name : Publish to TestPyPI
45
45
needs : build_wheels
46
46
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/')
49
48
steps :
50
49
- name : Download all workflow run artifacts
51
50
uses : actions/download-artifact@v2
52
51
with :
53
52
path : dist
54
-
55
53
- name : Publish to TestPyPI
56
- uses : pypa/gh-action-pypi-publish@release/v1
54
+ uses : pypa/gh-action-pypi-publish@v1.9.0
57
55
with :
58
56
user : __token__
59
57
password : ${{ secrets.PYPI_API_TOKEN }}
60
58
repository-url : https://test.pypi.org/legacy/
61
- packages-dir : dist/*/wheelhouse
59
+ packages-dir : dist/*
62
60
63
61
create_release :
64
62
name : Create Release
You can’t perform that action at this time.
0 commit comments