Skip to content

Commit b380175

Browse files
authored
Update deploy.yml
1 parent cf6b7a8 commit b380175

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767

6868
upload_wheels:
6969
name: Upload wheels to PyPi
70+
if: startsWith(github.ref, 'refs/tags/')
7071
runs-on: ubuntu-latest
7172
needs: [ build_wheels,build_sdist,build_pyodide_wheel ]
7273

@@ -79,7 +80,6 @@ jobs:
7980

8081
- name: Publish package to PyPI
8182
uses: pypa/gh-action-pypi-publish@release/v1
82-
if: startsWith(github.ref, 'refs/tags/')
8383
with:
8484
user: __token__
8585
password: ${{ secrets.PYPI_API_TOKEN }}
@@ -88,12 +88,12 @@ jobs:
8888

8989
release_wheels:
9090
name: Upload wheels to Release
91+
if: startsWith(github.ref, 'refs/tags/')
9192
runs-on: ubuntu-latest
9293
needs: [ build_wheels,build_sdist,build_pyodide_wheel ]
9394

9495
steps:
9596
- uses: actions/download-artifact@v4
96-
if: startsWith(github.ref, 'refs/tags/')
9797
with:
9898
merge-multiple: true
9999
path: all_wheels

0 commit comments

Comments
 (0)