blob: 1f32fcfbfa47f0f4d2d4350282dcf0f9f231a5d5 [file] [log] [blame]
package ci
import (
"tool/file"
"encoding/yaml"
)
command: gengithub: task: {
for w in workflows {
"\(w.file)": file.Create & {
filename: "../../.github/workflows/\(w.file)"
contents: """
# Generated by internal/ci/ci_tool.cue; do not edit
\(yaml.Marshal(w.schema))
"""
}
}
}