From a9100bdc3f0ee6a936a2e2d91b65fee5aacea596 Mon Sep 17 00:00:00 2001 From: jakecoffman Date: Thu, 27 Oct 2022 13:47:42 -0500 Subject: [PATCH] fix running updater even though fetcher failed --- internal/infra/updater.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/infra/updater.go b/internal/infra/updater.go index d9d1f31..c5fbf35 100644 --- a/internal/infra/updater.go +++ b/internal/infra/updater.go @@ -179,6 +179,7 @@ func (u *Updater) InstallCertificates(ctx context.Context) error { func userEnv(proxyURL string, apiPort int) []string { return []string{ + "GITHUB_ACTIONS=true", // sets exit code when fetch fails fmt.Sprintf("http_proxy=%s", proxyURL), fmt.Sprintf("HTTP_PROXY=%s", proxyURL), fmt.Sprintf("https_proxy=%s", proxyURL),