Skip to content

Commit fff5895

Browse files
fix humble dependencies issue in ci (#347) (#350)
(cherry picked from commit 267a735) Co-authored-by: Narukara <narukara17@gmail.com>
1 parent b8a6802 commit fff5895

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)