File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Development Releases
2+
3+ on :
4+ push :
5+ branches :
6+ - " !not_activated_on_branches!*"
7+ tags :
8+ - " v[0-9]+.[0-9]+.[0-9]+-dev.[0-9]+"
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : actions/setup-python@v4
16+ with :
17+ python-version : ' 3.10'
18+
19+ - name : Update Version in __init__.py
20+ run : sed -i 's/0.0.0/${{ github.ref }}/g' ./deepgram/__init__.py
21+
22+ - name : Install Dependencies
23+ run : pip install .
24+
25+ # - name: Run Tests
26+ # run: pytest tests/
27+
28+ - name : Install build
29+ run : python -m pip install --upgrade build
30+
31+ - name : Build SDK
32+ run : python -m build
33+
34+ - name : Install twine
35+ run : python -m pip install --upgrade twine
36+
37+ - name : Publish to PyPi
38+ uses : pypa/gh-action-pypi-publish@release/v1
39+ with :
40+ password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments