From c13a9f2a8c1dfa31c15ef2dd06509a4283cdecc3 Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Tue, 3 Dec 2024 17:19:51 +0000 Subject: [PATCH] Update clang-tidy-review.yml hardcode environment variable path --- .github/workflows/clang-tidy-review.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/clang-tidy-review.yml b/.github/workflows/clang-tidy-review.yml index 3689e518be4..1f8742e5b4a 100644 --- a/.github/workflows/clang-tidy-review.yml +++ b/.github/workflows/clang-tidy-review.yml @@ -48,9 +48,9 @@ jobs: export PATH="$PWD:$PATH" && eval "$(micromamba shell hook -s posix)" && micromamba create -n clang-tidy-review -y --log-level warning -f $GITHUB_WORKSPACE/conda_env.yml && - export PATH=${PATH}:${PWD}/build/bin && - export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PWD}/build/lib && - export PYTHONPATH=${PYTHONPATH}:${PWD}/build/lib/python && + export PATH=${PATH}:/github/home/micromamba/envs/clang-tidy-review/bin && + export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/github/home/micromamba/envs/clang-tidy-review/lib && + export PYTHONPATH=${PYTHONPATH}:/github/home/micromamba/envs/clang-tidy-review/lib/python && micromamba run -n clang-tidy-review cmake . -B build -DINSTALL_PYTHON=FALSE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON - name: Upload artifacts