We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b333611 commit 4c3de5eCopy full SHA for 4c3de5e
1 file changed
.github/workflows/release.yml
@@ -2,12 +2,13 @@ name: Release
2
3
on:
4
push:
5
+ branches:
6
+ - master
7
tags:
8
- '*'
9
10
jobs:
11
pypi-publish:
- if: startsWith(github.ref, 'refs/tags')
12
name: Upload release to PyPI
13
runs-on: ubuntu-latest
14
environment:
@@ -26,4 +27,5 @@ jobs:
26
27
python -m pip install setuptools build
28
python -m build -s
29
- name: Publish package distributions to PyPI
30
+ if: startsWith(github.ref, 'refs/tags')
31
uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments