From aaba6334bbe90dc55d4bc8b430cd17178e3576ee Mon Sep 17 00:00:00 2001
From: Marco Randazzo <marco.randazzo@iit.it>
Date: Tue, 14 Feb 2023 14:22:40 +0100
Subject: [PATCH] CI cleanup: removed build/bin from the the PATH environment
 variable since it is no more needed after
 https://github.com/robotology/yarp/pull/2943

---
 .github/workflows/ci.yml | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a85144ef68..c999e19d14 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -857,13 +857,6 @@ jobs:
           else()
             file(APPEND "${_env_script}" "set(ENV{PATH} \"\$ENV{PATH};C:\\\\robotology\\\\vcpkg\\\\installed\\\\x64-windows\\\\debug\\\\bin\")\n")
           endif()
-
-          # Append output bin directory to the PATH
-          if("${{ matrix.config.cmake_generator }}" MATCHES "Visual Studio")
-            file(APPEND "${_env_script}" "set(ENV{PATH} \"\$ENV{PATH};\$ENV{GITHUB_WORKSPACE}\\\\build\\\\bin\\\\${{ matrix.config.build_type }}\")\n")
-          elseif("${{ matrix.config.cmake_generator }}" MATCHES "Ninja")
-            file(APPEND "${_env_script}" "set(ENV{PATH} \"\$ENV{PATH};\$ENV{GITHUB_WORKSPACE}\\\\build\\\\bin\")\n")
-          endif()
         endif()
 
         file(APPEND "${_env_script}" "set(ENV{CC} ${{ matrix.config.cc }})\n")