mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 02:39:07 +08:00
[vcpkg] Pass AUTHORIZATION_TOKEN to the vcpkg_download_distfile() command which retrieves VCPKG_HEAD_VERSION (#19077)
This commit is contained in:
parent
d331544d82
commit
1257354a3a
@ -153,6 +153,7 @@ function(vcpkg_from_github)
|
|||||||
vcpkg_download_distfile(archive_version
|
vcpkg_download_distfile(archive_version
|
||||||
URLS "${github_api_url}/repos/${org_name}/${repo_name}/git/refs/heads/${arg_HEAD_REF}"
|
URLS "${github_api_url}/repos/${org_name}/${repo_name}/git/refs/heads/${arg_HEAD_REF}"
|
||||||
FILENAME "${downloaded_file_name}.version"
|
FILENAME "${downloaded_file_name}.version"
|
||||||
|
${headers_param}
|
||||||
SKIP_SHA512
|
SKIP_SHA512
|
||||||
ALWAYS_REDOWNLOAD
|
ALWAYS_REDOWNLOAD
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user