Skip to content

Commit 3feda8e

Browse files
committed
v0.1.1 release
1 parent 28bc8e2 commit 3feda8e

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,29 @@ jobs:
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:

0 commit comments

Comments
 (0)