File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed
Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 1- name : Publish
1+ name : Publish Python Package
22on :
33 release :
44 types : [published]
5+ push :
56
67jobs :
7- call_synodic_workflow :
8- uses : synodic-software/.github/.github/workflows/publish.yml@stable
8+ publish_development :
9+ if : github.event_name == 'push'
10+ steps :
11+ - uses : synodic-software/.github/.github/workflows/python-publish.yml@stable
12+ with :
13+ repository_url : https://test.pypi.org/
14+ token : ${{ secrets.TEST_PYPI_API_TOKEN }}
15+
16+ publish_release :
17+ if : github.event_name == 'release' && github.event.action == 'published'
18+ steps :
19+ - uses : synodic-software/.github/.github/workflows/python-publish.yml@stable
20+ with :
21+ repository_url : https://pypi.org/
22+ token : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments