File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -77,17 +77,17 @@ func (a *acceptance) trigger(ctx context.Context) (*notify.Notification, error)
7777 if err != nil {
7878 return nil , fmt .Errorf ("report: %w" , err )
7979 }
80+ err = a .Upload (ctx , artifactDir )
81+ if err != nil {
82+ return nil , fmt .Errorf ("upload artifact: %w" , err )
83+ }
8084 // better be redacting twice, right?
8185 summary := redact .ReplaceAll (report .StepSummary ())
8286 a .Action .AddStepSummary (summary )
8387 err = a .AddOrUpdateComment (ctx , summary )
8488 if err != nil {
8589 return nil , fmt .Errorf ("comment: %w" , err )
8690 }
87- err = a .Upload (ctx , artifactDir )
88- if err != nil {
89- return nil , fmt .Errorf ("upload artifact: %w" , err )
90- }
9191 runUrl , err := a .RunURL (ctx )
9292 if err != nil {
9393 return nil , fmt .Errorf ("run url: %w" , err )
You can’t perform that action at this time.
0 commit comments