1
0
mirror of https://github.com/flutter/samples.git synced 2026-04-14 19:13:16 +00:00

Fixes CI ahead of next release

This commit is contained in:
Eric Windmill
2026-02-09 13:26:00 -08:00
committed by GitHub
parent 54106b0bf6
commit b0002d1d1b
9 changed files with 187 additions and 226 deletions

View File

@@ -14,10 +14,15 @@ Future<void> main() async {
exit(1);
}
final skipCiList = pubspecYaml['skip_ci'] as YamlList?;
// pub workspace, only run 'get' once
await _runCommand('flutter', ['pub', 'get'], workingDirectory: rootDir.path);
final packages = workspace.map((e) => e.toString()).toList();
final packages = workspace
.where((e) => skipCiList == null || !skipCiList.contains(e))
.map((e) => e.toString())
.toList();
for (final package in packages) {
final packagePath = path.join(rootDir.path, package);