Skip to content

Commit 0480e8c

Browse files
committed
feat(ci): add gha job to publish the package
1 parent 5945d64 commit 0480e8c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/publish.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
push:
5+
branches: "*"
6+
tags: ["*"]
7+
8+
jobs:
9+
pypi-publish:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
id-token: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v4
16+
with:
17+
python-version: '3.10'
18+
- name: create a distribution
19+
run: |
20+
pip3 install build wheel
21+
python3 -m build --wheel
22+
# - name: Publish package distributions to PyPI
23+
# uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)