From e2442f9de9d994223a2cd1a15534b51acb1b8b8e Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Fri, 4 Nov 2022 12:08:05 +0100 Subject: [PATCH] Apply workaround for Conan installation on CI --- .github/workflows/osrm-backend.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/osrm-backend.yml b/.github/workflows/osrm-backend.yml index 04fd49686..25d004dd8 100644 --- a/.github/workflows/osrm-backend.yml +++ b/.github/workflows/osrm-backend.yml @@ -506,6 +506,11 @@ jobs: - name: Install dev dependencies run: | python3 -m pip install conan==1.53.0 + # workaround for issue that GitHub Actions seems to not adding it to PATH after https://github.com/actions/runner-images/pull/6499 + # and that's CI cannot find conan executable installed above + if [[ "${RUNNER_OS}" == "macOS" ]]; then + echo "/Library/Frameworks/Python.framework/Versions/3.11/bin" >> $GITHUB_PATH + fi # ccache if [[ "${RUNNER_OS}" == "Linux" ]]; then