Skip to content

Commit 2fc7fe7

Browse files
authored
Create pypi.yml
1 parent 217f1ef commit 2fc7fe7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/pypi.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: publish-pypi
2+
on:
3+
push:
4+
tags: ["v*.*.*"]
5+
jobs:
6+
publish:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
id-token: write
10+
contents: read
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v5
14+
with:
15+
python-version: "3.11"
16+
- run: pip install -U build
17+
- run: python -m build
18+
- uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)