From 9d94a51b607600a39c14470c35c676eb3e30eed6 Mon Sep 17 00:00:00 2001 From: godofredoc Date: Tue, 14 Feb 2023 16:00:23 -0800 Subject: [PATCH] Move linux-x64-flutter-gtk.zip to linux-x64-debug location. (#120658) * Move linux-x64-flutter-gtk.zip to linux-x64-debug location. linux-x64-flutter-gtk.zip is being uploaded twice to linux-x64-debug and linux-x64 as part of making a soft transition to use linux-x64-debug location. This PR starts using the copy inside linux-x64-debug to later remove the duplicated upload. * Also move arm64. * Do not override output dir. --- packages/flutter_tools/lib/src/flutter_cache.dart | 2 +- packages/flutter_tools/test/general.shard/cache_test.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/flutter_tools/lib/src/flutter_cache.dart b/packages/flutter_tools/lib/src/flutter_cache.dart index 71cf57ed109..0c50eecf954 100644 --- a/packages/flutter_tools/lib/src/flutter_cache.dart +++ b/packages/flutter_tools/lib/src/flutter_cache.dart @@ -314,7 +314,7 @@ class LinuxEngineArtifacts extends EngineCachedArtifact { if (_platform.isLinux || ignorePlatformFiltering) { final String arch = cache.getHostPlatformArchName(); return >[ - ['linux-$arch', 'linux-$arch/linux-$arch-flutter-gtk.zip'], + ['linux-$arch', 'linux-$arch-debug/linux-$arch-flutter-gtk.zip'], ['linux-$arch-profile', 'linux-$arch-profile/linux-$arch-flutter-gtk.zip'], ['linux-$arch-release', 'linux-$arch-release/linux-$arch-flutter-gtk.zip'], ]; diff --git a/packages/flutter_tools/test/general.shard/cache_test.dart b/packages/flutter_tools/test/general.shard/cache_test.dart index 3dc6e7ff695..5d8ac71085b 100644 --- a/packages/flutter_tools/test/general.shard/cache_test.dart +++ b/packages/flutter_tools/test/general.shard/cache_test.dart @@ -668,7 +668,7 @@ void main() { ); expect(artifacts.getBinaryDirs(), >[ - ['linux-x64', 'linux-x64/linux-x64-flutter-gtk.zip'], + ['linux-x64', 'linux-x64-debug/linux-x64-flutter-gtk.zip'], ['linux-x64-profile', 'linux-x64-profile/linux-x64-flutter-gtk.zip'], ['linux-x64-release', 'linux-x64-release/linux-x64-flutter-gtk.zip'], ]); @@ -684,7 +684,7 @@ void main() { ); expect(artifacts.getBinaryDirs(), >[ - ['linux-arm64', 'linux-arm64/linux-arm64-flutter-gtk.zip'], + ['linux-arm64', 'linux-arm64-debug/linux-arm64-flutter-gtk.zip'], ['linux-arm64-profile', 'linux-arm64-profile/linux-arm64-flutter-gtk.zip'], ['linux-arm64-release', 'linux-arm64-release/linux-arm64-flutter-gtk.zip'], ]);