Skip to content

Commit 9d94a51

Browse files
authored
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.
1 parent fd2fd94 commit 9d94a51

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/flutter_tools/lib/src/flutter_cache.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ class LinuxEngineArtifacts extends EngineCachedArtifact {
314314
if (_platform.isLinux || ignorePlatformFiltering) {
315315
final String arch = cache.getHostPlatformArchName();
316316
return <List<String>>[
317-
<String>['linux-$arch', 'linux-$arch/linux-$arch-flutter-gtk.zip'],
317+
<String>['linux-$arch', 'linux-$arch-debug/linux-$arch-flutter-gtk.zip'],
318318
<String>['linux-$arch-profile', 'linux-$arch-profile/linux-$arch-flutter-gtk.zip'],
319319
<String>['linux-$arch-release', 'linux-$arch-release/linux-$arch-flutter-gtk.zip'],
320320
];

packages/flutter_tools/test/general.shard/cache_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ void main() {
668668
);
669669

670670
expect(artifacts.getBinaryDirs(), <List<String>>[
671-
<String>['linux-x64', 'linux-x64/linux-x64-flutter-gtk.zip'],
671+
<String>['linux-x64', 'linux-x64-debug/linux-x64-flutter-gtk.zip'],
672672
<String>['linux-x64-profile', 'linux-x64-profile/linux-x64-flutter-gtk.zip'],
673673
<String>['linux-x64-release', 'linux-x64-release/linux-x64-flutter-gtk.zip'],
674674
]);
@@ -684,7 +684,7 @@ void main() {
684684
);
685685

686686
expect(artifacts.getBinaryDirs(), <List<String>>[
687-
<String>['linux-arm64', 'linux-arm64/linux-arm64-flutter-gtk.zip'],
687+
<String>['linux-arm64', 'linux-arm64-debug/linux-arm64-flutter-gtk.zip'],
688688
<String>['linux-arm64-profile', 'linux-arm64-profile/linux-arm64-flutter-gtk.zip'],
689689
<String>['linux-arm64-release', 'linux-arm64-release/linux-arm64-flutter-gtk.zip'],
690690
]);

0 commit comments

Comments
 (0)