mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 20:59:12 +08:00
[ci] Don't block binarycaching = false
This commit is contained in:
parent
468bfeb56e
commit
039abe258b
@ -154,8 +154,10 @@ namespace vcpkg::Commands::CI
|
|||||||
|
|
||||||
void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_triplet)
|
void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_triplet)
|
||||||
{
|
{
|
||||||
Checks::check_exit(
|
if (!GlobalState::g_binary_caching)
|
||||||
VCPKG_LINE_INFO, GlobalState::g_binary_caching, "The ci command requires binary caching to be enabled.");
|
{
|
||||||
|
System::println(System::Color::warning, "Warning: Running ci without binary caching!");
|
||||||
|
}
|
||||||
|
|
||||||
const ParsedArguments options = args.parse_arguments(COMMAND_STRUCTURE);
|
const ParsedArguments options = args.parse_arguments(COMMAND_STRUCTURE);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user