Skip to content

Commit d9b56fa

Browse files
committed
Create publish-to-pypi-on-new-python-tag.yml
1 parent 563125b commit d9b56fa

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Publish to PyPI on new python tag
2+
3+
on:
4+
push:
5+
tags: ["python*"]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-24.04
10+
permissions:
11+
id-token: write
12+
steps:
13+
- uses: actions/checkout@v6.0.2
14+
- uses: actions/setup-python@v6.2.0
15+
with:
16+
python-version: 3.x
17+
- run: pip install build
18+
- run: cd python && python -m build
19+
- uses: pypa/gh-action-pypi-publish@release/v1.14
20+
with:
21+
packages-dir: python/dist

0 commit comments

Comments
 (0)