diff --git a/ClimaArtifactsHelper.jl/src/ClimaArtifactsHelper.jl b/ClimaArtifactsHelper.jl/src/ClimaArtifactsHelper.jl index 1ac2d76..6e23451 100644 --- a/ClimaArtifactsHelper.jl/src/ClimaArtifactsHelper.jl +++ b/ClimaArtifactsHelper.jl/src/ClimaArtifactsHelper.jl @@ -205,7 +205,11 @@ function create_artifact_guided_one_file( Base.mv(downloaded_file, file_path) end - Base.cp(file_path, joinpath(output_dir, basename(file_path))) + if Sys.iswindows() + Base.cp(file_path, joinpath(output_dir, basename(file_path))) + else + run(`cp $file_path $(joinpath(output_dir, basename(file_path)))`) + end create_artifact_guided(output_dir; artifact_name, append) end