File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 1
1
name : deploy-to-pypi
2
2
3
3
on :
4
- push :
5
- branch : [develop]
6
- # release:
7
- # types: [published]
4
+ release :
5
+ types : [published]
8
6
9
7
jobs :
10
8
release :
@@ -25,11 +23,11 @@ jobs:
25
23
run : |
26
24
python -m pip install --upgrade pip
27
25
pip install wheel twine setuptools
28
- # - name: Package and Upload
29
- # env:
30
- # ADK_VERSION: ${{github.event.release.tag_name }}
31
- # TWINE_USERNAME: __token__
32
- # TWINE_PASSWORD: ${{secrets.TWINE_TOKEN }}
33
- # run: |
34
- # python3 setup.py sdist bdist_wheel --universal
35
- # twine upload -r pypi dist/*
26
+ - name : Package and Upload
27
+ env :
28
+ ADK_VERSION : ${{github.event.release.tag_name }}
29
+ TWINE_USERNAME : __token__
30
+ TWINE_PASSWORD : ${{secrets.TWINE_TOKEN }}
31
+ run : |
32
+ python3 setup.py sdist bdist_wheel --universal
33
+ twine upload -r pypi dist/*
You can’t perform that action at this time.
0 commit comments