diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 124ebbbc..035942bc 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,9 +37,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