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.
2 parents 4d8607a + e8f76e8 commit 67be9d2Copy full SHA for 67be9d2
.github/workflows/python-publish.yml
@@ -0,0 +1,34 @@
1
+name: Upload Python Package
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+permissions:
8
+ contents: read
9
10
+jobs:
11
+ deploy:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v3
18
+ with:
19
+ python-version: '3.x'
20
+ - name: Install dependencies
21
+ run: |
22
+ python -m pip install --upgrade pip
23
+ pip install build
24
+ - name: Build package
25
26
+ cd python-sdk
27
+ python -m build
28
+ - name: Publish package
29
+ env:
30
+ TWINE_USERNAME: __token__
31
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
32
33
34
+ python -m twine upload dist/*
0 commit comments