File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change
1
+ name : Upload PyPi package 📦
1
2
on : [push]
2
-
3
3
jobs :
4
4
build-n-publish :
5
5
name : Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
@@ -17,13 +17,13 @@ jobs:
17
17
- name : Build a binary wheel and a source tarball
18
18
run : python -m build --sdist --wheel --outdir dist/ .
19
19
20
- - name : Publish distribution 📦 to Test PyPI
21
- uses : pypa/gh-action-pypi-publish@master
22
- with :
23
- password : ${{ secrets.TEST_PYPI_API_TOKEN }}
24
- repository_url : https://test.pypi.org/legacy/
20
+ # - name: Publish distribution 📦 to Test PyPI
21
+ # uses: pypa/gh-action-pypi-publish@master
22
+ # with:
23
+ # password: ${{ secrets.TEST_PYPI_API_TOKEN }}
24
+ # repository_url: https://test.pypi.org/legacy/
25
25
- name : Publish distribution 📦 to PyPI
26
- if : startsWith(github.ref, 'refs/tags')
26
+ if : startsWith(github.ref, 'refs/tags/v ')
27
27
uses : pypa/gh-action-pypi-publish@master
28
28
with :
29
29
password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 1
- name : run_tests
1
+ name : Run Tests
2
2
on : [push]
3
3
jobs :
4
4
test :
You can’t perform that action at this time.
0 commit comments