mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-13 16:05:00 +00:00
fix(csharp): make s3 path arch specific (#7505)
* fix(csharp): make s3 path arch specific Signed-off-by: pyranota <pyra@duck.com> * add separator Signed-off-by: pyranota <pyra@duck.com> --------- Signed-off-by: pyranota <pyra@duck.com>
This commit is contained in:
@@ -31,8 +31,8 @@ use crate::{
|
||||
get_reserved_variables, read_result, start_child_process,
|
||||
},
|
||||
handle_child::handle_child,
|
||||
CSHARP_CACHE_DIR, DISABLE_NSJAIL, DISABLE_NUSER, DOTNET_PATH, HOME_ENV,
|
||||
NSJAIL_PATH, NUGET_CONFIG, PATH_ENV, TZ_ENV,
|
||||
CSHARP_CACHE_DIR, DISABLE_NSJAIL, DISABLE_NUSER, DOTNET_PATH, HOME_ENV, NSJAIL_PATH,
|
||||
NUGET_CONFIG, PATH_ENV, TZ_ENV,
|
||||
};
|
||||
|
||||
use crate::common::OccupancyMetrics;
|
||||
@@ -58,7 +58,12 @@ lazy_static::lazy_static! {
|
||||
}
|
||||
|
||||
#[cfg(feature = "csharp")]
|
||||
const CSHARP_OBJECT_STORE_PREFIX: &str = "csharpbin/";
|
||||
const CSHARP_OBJECT_STORE_PREFIX: &str = const_format::concatcp!(
|
||||
std::env::consts::OS,
|
||||
"_",
|
||||
std::env::consts::ARCH,
|
||||
"_csharpbin/"
|
||||
);
|
||||
|
||||
#[cfg(feature = "csharp")]
|
||||
pub async fn generate_nuget_lockfile(
|
||||
|
||||
Reference in New Issue
Block a user