We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29a4146 commit 5e739afCopy full SHA for 5e739af
.github/workflows/main.yml
@@ -19,3 +19,20 @@ jobs:
19
python-version: ${{ matrix.python }}
20
- run: pip install Markdown
21
- run: python ./test.py
22
+ pypi-publish:
23
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
24
+ runs-on: ubuntu-latest
25
+ environment:
26
+ name: pypi
27
+ url: https://pypi.org/p/python-markdown-math
28
+ permissions:
29
+ id-token: write
30
+ steps:
31
+ - uses: actions/checkout@v4
32
+ - uses: actions/setup-python@v5
33
+ with:
34
+ python-version: '3.13'
35
+ - run: pip install build
36
+ - run: python -m build
37
+ - if: success()
38
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments