xamarin-macios/dotnet/Workloads
VS MobileTools Engineering Service 2 f9bd979f7a
[main] [ci] Only try to sign nested zips if they exist (#16143)
Recent signing attempts on branches that are building a limited set of
Apple platforms are failing:

Target "_UnzipNestedZips: (TargetId:3)" in file
"D:\a\_work\_temp\artifact-signing\extracted\SignList.targets" from
project "D:\a\_work\_temp\artifact-signing\SignFiles.proj" (target
"_CalculateItemsToSign" depends on it):
Set Property:
_NestedZipExtractionDir=D:\a\_work\_temp\artifact-signing\extracted\nested\
Using "RemoveDir" task from assembly "Microsoft.Build.Tasks.Core,
Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
    Task "RemoveDir" (TaskId:2)
Task
Parameter:Directories=D:\a\_work\_temp\artifact-signing\extracted\nested\
(TaskId:2)
Directory "D:\a\_work\_temp\artifact-signing\extracted\nested\" doesn't
exist. Skipping. (TaskId:2)
    Done executing task "RemoveDir". (TaskId:2)
Using "Unzip" task from assembly "Microsoft.Build.Tasks.Core,
Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
    Task "Unzip" (TaskId:3)
D:\a\_work\_temp\artifact-signing\extracted\SignList.targets(16,5):
Error MSB4044: The "Unzip" task was not given a value for the required
parameter "DestinationFolder".

We should only attempt to extract and sign content in `Broker.zip`,
`Build.zip`, and `Xamarin.PreBuilt.iOS.app.zip` if the zip exists.


Backport of #16141

Co-authored-by: Peter Collins <pecolli@microsoft.com>
2022-09-28 07:53:27 +02:00
..
Microsoft.NET.Sdk.MacCatalyst [main] [ci] Add support to main for multi-targeting in VS (#15786) 2022-08-29 12:08:39 +02:00
Microsoft.NET.Sdk.iOS [main] [ci] Add support to main for multi-targeting in VS (#15786) 2022-08-29 12:08:39 +02:00
Microsoft.NET.Sdk.macOS [main] [ci] Add support to main for multi-targeting in VS (#15786) 2022-08-29 12:08:39 +02:00
Microsoft.NET.Sdk.tvOS [main] [ci] Add support to main for multi-targeting in VS (#15786) 2022-08-29 12:08:39 +02:00
SignList.targets [main] [ci] Only try to sign nested zips if they exist (#16143) 2022-09-28 07:53:27 +02:00
SignList.xml Update SignList.xml to look for our new Microsoft.* assemblies 2022-02-18 11:36:52 -05:00