File tree Expand file tree Collapse file tree 1 file changed +2
-26
lines changed
Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Original file line number Diff line number Diff line change 1- name : Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
1+ name : Publish Python 🐍 distribution 📦 to PyPI
22
33on : push
44
3737 - build
3838 runs-on : ubuntu-latest
3939 environment :
40- name : pypi
40+ name : release
4141 url : https://pypi.org/p/perplexity-advanced-mcp
4242 permissions :
4343 id-token : write # IMPORTANT: mandatory for trusted publishing
9090 gh release upload
9191 "$GITHUB_REF_NAME" dist/**
9292 --repo "$GITHUB_REPOSITORY"
93-
94- publish-to-testpypi :
95- name : Publish Python 🐍 distribution 📦 to TestPyPI
96- needs :
97- - build
98- runs-on : ubuntu-latest
99-
100- environment :
101- name : testpypi
102- url : https://test.pypi.org/p/perplexity-advanced-mcp
103-
104- permissions :
105- id-token : write # IMPORTANT: mandatory for trusted publishing
106-
107- steps :
108- - name : Download all the dists
109- uses : actions/download-artifact@v4
110- with :
111- name : python-package-distributions
112- path : dist/
113- - name : Publish distribution 📦 to TestPyPI
114- uses : pypa/gh-action-pypi-publish@release/v1
115- with :
116- repository-url : https://test.pypi.org/legacy/
You can’t perform that action at this time.
0 commit comments