Skip to content

Commit fec2fde

Browse files
NarukaraAmronos
authored andcommitted
fix humble dependencies issue in ci (#347)
(cherry picked from commit 267a735)
1 parent fb7112d commit fec2fde

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
@@ -40,9 +40,17 @@ jobs:
4040

4141
- name: Dependencies
4242
shell: bash
43+
env:
44+
TARGET_BRANCH: ${{ inputs.branch || github.base_ref || github.ref_name }}
4345
run: |
4446
. $IDF_PATH/export.sh
45-
pip install catkin_pkg colcon-common-extensions lark
47+
echo "::notice::TARGET_BRANCH=$TARGET_BRANCH"
48+
if [ "$TARGET_BRANCH" = "humble" ]; then
49+
python3 -m pip uninstall -y em empy || true
50+
python3 -m pip install catkin_pkg colcon-common-extensions lark "empy==3.3.4"
51+
else
52+
python3 -m pip install catkin_pkg colcon-common-extensions lark
53+
fi
4654
4755
- name: Build sample - int32_publisher
4856
shell: bash

0 commit comments

Comments
 (0)