Skip to content

Commit dd82dda

Browse files
committed
fixed wheel location
1 parent abd5826 commit dd82dda

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/build_wheels_and_release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)