Skip to content

Commit a9100bd

Browse files
committed
fix running updater even though fetcher failed
1 parent ce9e558 commit a9100bd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎internal/infra/updater.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ func (u *Updater) InstallCertificates(ctx context.Context) error {
179179

180180
func userEnv(proxyURL string, apiPort int) []string {
181181
return []string{
182+
"GITHUB_ACTIONS=true", // sets exit code when fetch fails
182183
fmt.Sprintf("http_proxy=%s", proxyURL),
183184
fmt.Sprintf("HTTP_PROXY=%s", proxyURL),
184185
fmt.Sprintf("https_proxy=%s", proxyURL),

0 commit comments

Comments
 (0)