File tree Expand file tree Collapse file tree 1 file changed +3
-29
lines changed
Expand file tree Collapse file tree 1 file changed +3
-29
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ name: Publish SuperGemini to PyPI
33on :
44 push :
55 tags :
6- - " v*.*.*"
6+ - " v*"
7+ release :
8+ types : [published]
79
810jobs :
911 build :
3133 with :
3234 user : __token__
3335 password : ${{ secrets.PYPI_API_TOKEN }}
34-
35- test-publish :
36- runs-on : ubuntu-latest
37- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
38- needs : build
39- steps :
40- - name : Checkout source
41- uses : actions/checkout@v4
42-
43- - name : Set up Python
44- uses : actions/setup-python@v5
45- with :
46- python-version : " 3.11"
47-
48- - name : Install build dependencies
49- run : |
50- python -m pip install --upgrade pip
51- pip install build setuptools wheel twine
52-
53- - name : Build SuperGemini package
54- run : python -m build
55-
56- - name : Publish to TestPyPI
57- uses : pypa/gh-action-pypi-publish@release/v1
58- with :
59- repository-url : https://test.pypi.org/legacy/
60- user : __token__
61- password : ${{ secrets.TEST_PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments