mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -06:00
write info to step summary
This commit is contained in:
parent
0beb4d04bb
commit
617ae20642
2 changed files with 6 additions and 1 deletions
|
@ -10,7 +10,7 @@ var dryCmd = &cobra.Command{
|
||||||
Use: "dry",
|
Use: "dry",
|
||||||
Short: "poor man's nix flake check",
|
Short: "poor man's nix flake check",
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
oizys.Dry( minimal, args...)
|
oizys.Dry(minimal, args...)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -256,6 +256,11 @@ func NixBuild(minimal bool, rest ...string) {
|
||||||
log.Info("nothing to build. exiting...")
|
log.Info("nothing to build. exiting...")
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
|
if o.inCI {
|
||||||
|
o.writeToGithubStepSummary("# Building Derivations:\n")
|
||||||
|
// TODO: write as a markdown table with hash + name (without .drv)
|
||||||
|
o.writeToGithubStepSummary(strings.Join(drvs, "\n"))
|
||||||
|
}
|
||||||
cmd.Args = append(cmd.Args, append(drvs, "--no-link")...)
|
cmd.Args = append(cmd.Args, append(drvs, "--no-link")...)
|
||||||
}
|
}
|
||||||
if !o.inCI {
|
if !o.inCI {
|
||||||
|
|
Loading…
Reference in a new issue