We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62f1950 commit 6a0555dCopy full SHA for 6a0555d
1 file changed
.github/workflows/pypi_upload.yml
@@ -0,0 +1,33 @@
1
+name: Pypi Publish ClaraVid
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*.*.*'
7
8
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v5
16
+ with:
17
+ python-version: '3.11'
18
19
+ - name: Install hatch & twine
20
+ run: |
21
+ python -m pip install --upgrade pip
22
+ pip install hatch twine
23
24
+ - name: Build universal wheel
25
26
+ hatch build
27
28
+ - name: Publish to PyPI
29
+ env:
30
+ TWINE_USERNAME: __token__
31
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
32
33
+ twine upload dist/*
0 commit comments