pypi on tag push (#552)
Browse files
.github/workflows/pypi.yml
CHANGED
@@ -2,12 +2,11 @@ name: publish pypi
|
|
2 |
|
3 |
on:
|
4 |
push:
|
5 |
-
|
6 |
-
-
|
7 |
|
8 |
jobs:
|
9 |
pypi-publish:
|
10 |
-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
11 |
name: Upload release to PyPI
|
12 |
runs-on: ubuntu-latest
|
13 |
environment:
|
|
|
2 |
|
3 |
on:
|
4 |
push:
|
5 |
+
tags:
|
6 |
+
- '*'
|
7 |
|
8 |
jobs:
|
9 |
pypi-publish:
|
|
|
10 |
name: Upload release to PyPI
|
11 |
runs-on: ubuntu-latest
|
12 |
environment:
|