diff --git a/lib/src/utils/context.dart b/lib/src/utils/context.dart index c8321f43..78da915e 100644 --- a/lib/src/utils/context.dart +++ b/lib/src/utils/context.dart @@ -119,7 +119,9 @@ class FVMContext with FVMContextMappable { /// Flag to determine if should use git cache @MappableField() bool get gitCache { - return config.useGitCache != null ? config.useGitCache! : true; + final useGitCache = config.useGitCache != null ? config.useGitCache! : true; + + return useGitCache && !isCI; } /// Run pub get on sdk changes