Skip to content

Commit 2338684

Browse files
authored
Merge pull request #2 from home-assistant-libs/bump-chip-version-to-3c1d8cf8c
Bump to latest git hash on v1.0-branch
2 parents 7963a38 + 0bdf856 commit 2338684

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/build.yaml

+11-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
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
@@ -17,6 +17,14 @@ jobs:
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 }})
@@ -59,7 +67,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)