File tree Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change 1
1
name : deploy-to-pypi
2
2
3
3
on :
4
- release :
5
- types : [published]
4
+ push :
5
+ branch : [develop]
6
+ # release:
7
+ # types: [published]
6
8
7
9
jobs :
8
10
release :
@@ -15,15 +17,19 @@ jobs:
15
17
with :
16
18
python-version : ' 3.7.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
17
19
architecture : ' x64' # optional x64 or x86. Defaults to x64 if not specified
20
+ - name : continous integration
21
+ run : |
22
+ python test/test_adk_local.py
23
+ python test/test_adk_remote.py
18
24
- name : prepare
19
25
run : |
20
26
python -m pip install --upgrade pip
21
27
pip install wheel twine setuptools
22
- - name : Package and Upload
23
- env :
24
- ADK_VERSION : ${{github.event.release.tag_name }}
25
- TWINE_USERNAME : __token__
26
- TWINE_PASSWORD : ${{secrets.TWINE_TOKEN }}
27
- run : |
28
- python3 setup.py sdist bdist_wheel --universal
29
- twine upload -r pypi dist/*
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/*
You can’t perform that action at this time.
0 commit comments