File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 77 name : Prepare build
88 runs-on : ubuntu-latest
99 outputs :
10- version : ${{ steps.version.outputs.version }}
10+ version : ${{ steps.python- version.outputs.value }}
1111 channel : ${{ steps.version.outputs.channel }}
1212 steps :
1313 - name : Checkout build repository
1717 - name : Get version
1818 id : version
1919 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
2028
2129 build_linux_python_lib :
2230 name : Build Python wheels for Linux (${{ matrix.arch.name }})
5967 uses : actions/checkout@v3
6068 with :
6169 repository : project-chip/connectedhomeip
62- ref : 47448899e3836cbc48688f3f5c84054d33307643
70+ ref : 3c1d8cf8ce5df84be2d046b687dc4cddd71cc326
6371 path : ./project-chip
6472 - name : Checkout submodules
6573 run : scripts/checkout_submodules.py --shallow --platform linux
@@ -115,6 +123,7 @@ jobs:
115123 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
116124 python3 -m twine upload out/controller/python/home_assistant_chip_repl-${{ needs.build_prepare.outputs.version }}-py3-none-any.whl --skip-existing
117125 - name : Upload wheels to Test PyPI
126+ if : ${{ github.ref == 'refs/heads/main' }}
118127 env :
119128 TWINE_USERNAME : " __token__"
120129 TWINE_PASSWORD : ${{ secrets.TWINE_TOKEN_TESTPYPI }}
You can’t perform that action at this time.
0 commit comments