Skip to content

Commit

Permalink
Fix logging from github-actions (#4024)
Browse files Browse the repository at this point in the history
It turns out logging lines like `Skipping artifact
%!s(*string=0xc0009bede0)` aren't super useful.
  • Loading branch information
gsnedders authored Oct 1, 2024
1 parent 5d65d4e commit e459c54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/ghactions/notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ func processBuild(
for _, artifact := range artifacts.Artifacts {

if !artifactNameGlob.Match(*artifact.Name) {
log.Infof("Skipping artifact %s", artifact.Name)
log.Infof("Skipping artifact %s", *artifact.Name)

continue
}

log.Infof("Adding %s for %s/%s run %v to upload...", artifact.Name, owner, repo, runID)
log.Infof("Adding %s for %s/%s run %v to upload...", *artifact.Name, owner, repo, runID)

// Set the labels based on the first artifact we find.
if len(archiveURLs) == 0 {
Expand Down

0 comments on commit e459c54

Please sign in to comment.