Radish alpha
r
rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE
Radicle CI adapter for native CI
Radicle
Git
Revert "temporary fix: sourced .bashrc to set $PATH"
Lars Wirzenius committed 2 years ago
commit 3b1cfbdc1ff0ecd1d93e21ecaba4a6cd4fcacd7f
parent 072b942
1 file changed +1 -4
modified src/main.rs
@@ -149,10 +149,7 @@ fn run(
    log.write(format!("CI run spec: {:#?}\n", runspec))?;

    debug!("running CI in cloned repository");
-
    let snippet = format!(
-
        "set -xeuo pipefail\nsource $HOME/.bashrc\n\n{}",
-
        &runspec.shell
-
    );
+
    let snippet = format!("set -xeuo pipefail\n{}", &runspec.shell);
    runcmd(&mut run_log, &["bash", "-c", &snippet], src)?;

    write_response(&Response::finished(RunResult::Success))?;