hive-forge: add ci-log verb for actions job step logs (closes #1674)
This commit is contained in:
parent
1d259e84f2
commit
2223af1b21
5 changed files with 216 additions and 0 deletions
|
|
@ -130,6 +130,10 @@ enum Verb {
|
|||
/// caller supplies the run number + artifact name. Saves a zip
|
||||
/// (or `-o -` to stream).
|
||||
ArtifactGet(verbs::artifact_get::Args),
|
||||
/// Print a CI Actions run's job step logs (`--run <n> [--job i]
|
||||
/// [--step i]`). Uses Forgejo's web run-view streamer (no REST
|
||||
/// endpoint exists); reliable for live + recently-finished runs.
|
||||
CiLog(verbs::ci_log::Args),
|
||||
}
|
||||
|
||||
fn main() -> Result<()> {
|
||||
|
|
@ -167,5 +171,6 @@ fn main() -> Result<()> {
|
|||
Verb::AttachComment(a) => verbs::attach::run_comment(&client, a),
|
||||
Verb::AttachmentGet(a) => verbs::attachment_get::run(&client, a),
|
||||
Verb::ArtifactGet(a) => verbs::artifact_get::run(&client, a),
|
||||
Verb::CiLog(a) => verbs::ci_log::run(&client, a),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue