File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 7
7
name : Prepare build
8
8
runs-on : ubuntu-latest
9
9
outputs :
10
- version : ${{ steps.version.outputs.version }}
10
+ version : ${{ steps.python- version.outputs.value }}
11
11
channel : ${{ steps.version.outputs.channel }}
12
12
steps :
13
13
- name : Checkout build repository
17
17
- name : Get version
18
18
id : version
19
19
uses : home-assistant/actions/helpers/version@master
20
+ - name : Find-and-replace strings
21
+ id : python-version
22
+ uses : mad9000/actions-find-and-replace-string@3
23
+ with :
24
+ source : ${{ steps.version.outputs.version }}
25
+ find : ' -'
26
+ replace : ' _'
27
+ replaceAll : true
20
28
21
29
build_linux_python_lib :
22
30
name : Build Python wheels for Linux (${{ matrix.arch.name }})
59
67
uses : actions/checkout@v3
60
68
with :
61
69
repository : project-chip/connectedhomeip
62
- ref : 47448899e3836cbc48688f3f5c84054d33307643
70
+ ref : 3c1d8cf8ce5df84be2d046b687dc4cddd71cc326
63
71
path : ./project-chip
64
72
- name : Checkout submodules
65
73
run : scripts/checkout_submodules.py --shallow --platform linux
@@ -115,6 +123,7 @@ jobs:
115
123
python3 -m twine upload out/controller/python/home_assistant_chip_core-${{ needs.build_prepare.outputs.version }}-cp37-abi3-manylinux_2_31_${{ matrix.arch.name }}.whl --skip-existing
116
124
python3 -m twine upload out/controller/python/home_assistant_chip_repl-${{ needs.build_prepare.outputs.version }}-py3-none-any.whl --skip-existing
117
125
- name : Upload wheels to Test PyPI
126
+ if : ${{ github.ref == 'refs/heads/main' }}
118
127
env :
119
128
TWINE_USERNAME : " __token__"
120
129
TWINE_PASSWORD : ${{ secrets.TWINE_TOKEN_TESTPYPI }}
You can’t perform that action at this time.
0 commit comments