Add Log to Job data structure

Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
Babak K. Shandiz 2025-04-07 13:51:56 +01:00
parent 4dee1c3c98
commit f7efdde5ef
No known key found for this signature in database
GPG key ID: 9472CAEFF56C742E

View file

@ -230,6 +230,8 @@ type Job struct {
CompletedAt time.Time `json:"completed_at"`
URL string `json:"html_url"`
RunID int64 `json:"run_id"`
Log *zip.File
}
type Step struct {
@ -239,7 +241,8 @@ type Step struct {
Number int
StartedAt time.Time `json:"started_at"`
CompletedAt time.Time `json:"completed_at"`
Log *zip.File
Log *zip.File
}
type Steps []Step