We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fcd197 commit 831698eCopy full SHA for 831698e
1 file changed
.github/workflows/python-publish.yaml
@@ -18,6 +18,7 @@ permissions:
18
19
jobs:
20
deploy:
21
+ if: "success() && startsWith(github.ref, 'refs/tags/')"
22
runs-on: ubuntu-latest
23
24
steps:
@@ -30,14 +31,14 @@ jobs:
30
31
run: |
32
python -m pip install --upgrade pip
33
pip install build
- - name: Build package
34
- run: python -m build
35
- name: check tag
36
id: check-tag
37
run: python check_tag.py
+ - name: Build package
38
+ run: python -m build
39
- name: Publish package
40
uses: pypa/gh-action-pypi-publish@v1.8.3
41
with:
42
user: __token__
- password: ${{ secrets.TEST_PYPI_TOKEN }}
43
+ password: ${{ secrets.PYPI_API_TOKEN }}
44
repository-url: https://test.pypi.org/legacy/
0 commit comments