winglian commited on
Commit
20ed4c1
1 Parent(s): c5dedb1

pypi on tag push (#552)

Browse files
Files changed (1) hide show
  1. .github/workflows/pypi.yml +2 -3
.github/workflows/pypi.yml CHANGED
@@ -2,12 +2,11 @@ name: publish pypi
2
 
3
  on:
4
  push:
5
- branches:
6
- - "main"
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: