File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 name : python-package-distributions
3939 path : dist/
4040
41+ publish-to-pypi :
42+ name : >-
43+ Publish Python 🐍 distribution 📦 to PyPI
44+ if : startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
45+ needs :
46+ - build
47+ runs-on : ubuntu-latest
48+ environment :
49+ name : pypi
50+ url : https://pypi.org/p/jsonversation
51+ permissions :
52+ id-token : write # IMPORTANT: mandatory for trusted publishing
53+
54+ steps :
55+ - name : Download all the dists
56+ uses : actions/download-artifact@v4
57+ with :
58+ name : python-package-distributions
59+ path : dist/
60+ - name : Publish distribution 📦 to PyPI
61+ uses : pypa/gh-action-pypi-publish@release/v1
62+ verbose : true
63+
4164 publish-to-testpypi :
4265 name : " Publish Python \U0001F40D distribution \U0001F4E6 to TestPyPI"
4366 needs :
You can’t perform that action at this time.
0 commit comments