Skip to content

Commit 0d01b71

Browse files
Update pythonpackage.yml
1 parent 2bcc049 commit 0d01b71

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/pythonpackage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
release:
4646
runs-on: ubuntu-latest
4747
needs: build
48-
if: startsWith(github.event.ref, 'refs/tags')
4948
strategy:
5049
max-parallel: 4
5150
matrix:
@@ -77,18 +76,19 @@ jobs:
7776
run: |
7877
cd wheelhouse
7978
ls -1 | grep -v 'wscodec.*'${{ matrix.python-version.bldstring }}'-manylinux1_x86_64' | sudo xargs rm -f
79+
cd ..
8080
8181
- name: Publish packages to PyPI if commit is Git tagged.
8282
uses: pypa/gh-action-pypi-publish@master
8383
with:
8484
user: __token__
8585
password: ${{ secrets.pypi_password }}
86-
packages_dir: .
86+
packages_dir: wheelhouse/
8787

8888
release_source:
8989
runs-on: ubuntu-latest
9090
needs: build
91-
91+
if: startsWith(github.event.ref, 'refs/tags')
9292
steps:
9393
- uses: actions/checkout@v1
9494
- name: Set up Python 3.8

0 commit comments

Comments
 (0)