Skip to content

Commit 267a735

Browse files
authored
fix humble dependencies issue in ci (#347)
1 parent 56d5afc commit 267a735

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,17 @@ jobs:
3737

3838
- name: Dependencies
3939
shell: bash
40+
env:
41+
TARGET_BRANCH: ${{ inputs.branch || github.base_ref || github.ref_name }}
4042
run: |
4143
. $IDF_PATH/export.sh
42-
pip install catkin_pkg colcon-common-extensions lark
44+
echo "::notice::TARGET_BRANCH=$TARGET_BRANCH"
45+
if [ "$TARGET_BRANCH" = "humble" ]; then
46+
python3 -m pip uninstall -y em empy || true
47+
python3 -m pip install catkin_pkg colcon-common-extensions lark "empy==3.3.4"
48+
else
49+
python3 -m pip install catkin_pkg colcon-common-extensions lark
50+
fi
4351
4452
- name: Build sample - int32_publisher
4553
shell: bash

0 commit comments

Comments
 (0)