mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 06:00:45 -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",
|
||||
Short: "poor man's nix flake check",
|
||||
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...")
|
||||
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")...)
|
||||
}
|
||||
if !o.inCI {
|
||||
|
|
Loading…
Reference in a new issue