From fec2fdeddcebeddfa66ba26bebac68a6e3c8c8f7 Mon Sep 17 00:00:00 2001 From: Narukara Date: Wed, 27 May 2026 19:01:03 +0800 Subject: [PATCH] fix humble dependencies issue in ci (#347) (cherry picked from commit 267a73502c60c08f544f2069faf9875fbe303c06) --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3634a610..20110a87 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,9 +40,17 @@ jobs: - name: Dependencies shell: bash + env: + TARGET_BRANCH: ${{ inputs.branch || github.base_ref || github.ref_name }} run: | . $IDF_PATH/export.sh - pip install catkin_pkg colcon-common-extensions lark + echo "::notice::TARGET_BRANCH=$TARGET_BRANCH" + if [ "$TARGET_BRANCH" = "humble" ]; then + python3 -m pip uninstall -y em empy || true + python3 -m pip install catkin_pkg colcon-common-extensions lark "empy==3.3.4" + else + python3 -m pip install catkin_pkg colcon-common-extensions lark + fi - name: Build sample - int32_publisher shell: bash