utils/github/artifacts: fix missing Utils::Curl reference.
Needed after https://github.com/Homebrew/brew/pull/15940
This commit is contained in:
parent
51889e7a08
commit
84973da037
@ -40,10 +40,10 @@ class GitHubArtifactDownloadStrategy < AbstractFileDownloadStrategy
|
|||||||
puts "Already downloaded: #{cached_location}"
|
puts "Already downloaded: #{cached_location}"
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
curl "--location", "--create-dirs", "--output", temporary_path, url,
|
Utils::Curl.curl "--location", "--create-dirs", "--output", temporary_path, url,
|
||||||
"--header", "Authorization: token #{@token}",
|
"--header", "Authorization: token #{@token}",
|
||||||
secrets: [@token],
|
secrets: [@token],
|
||||||
timeout: timeout
|
timeout: timeout
|
||||||
rescue ErrorDuringExecution
|
rescue ErrorDuringExecution
|
||||||
raise CurlDownloadStrategyError, url
|
raise CurlDownloadStrategyError, url
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user