From 9e05a230d86ab2661e3473913b22f6cac87c68c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Grabarz?= Date: Fri, 20 Dec 2024 18:05:09 +0100 Subject: [PATCH] actually update path in github env --- build_tools/ci_utils/src/actions/workflow/definition.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_tools/ci_utils/src/actions/workflow/definition.rs b/build_tools/ci_utils/src/actions/workflow/definition.rs index 05f4e140f7ee..c56cd976e2a6 100644 --- a/build_tools/ci_utils/src/actions/workflow/definition.rs +++ b/build_tools/ci_utils/src/actions/workflow/definition.rs @@ -83,7 +83,8 @@ pub fn setup_bin_bash() -> Step { name: Some("Add Git\\bash.exe to PATH".into()), r#if: Some(is_windows_runner()), shell: Some(Shell::Cmd), - run: Some(r#"set "PATH=C:\Program Files\Git\bin;%PATH%""#.into()), + + run: Some(r#"echo PATH="C:\Program Files\Git\bin;%PATH%" >> %GITHUB_ENV%"#.into()), ..default() } }