Skip to content

Commit a1ec8b5

Browse files
committed
Plumb Native into the build
1 parent 9c95391 commit a1ec8b5

File tree

1 file changed

+10
-2
lines changed
  • src/infrastructure/Silk.NET.NUKE

1 file changed

+10
-2
lines changed

src/infrastructure/Silk.NET.NUKE/Build.cs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,12 +403,20 @@ async Task PushPackages()
403403
{
404404
try
405405
{
406-
await NuGetInterface.UploadPackageAsync(uploadResource, NugetNoServiceEndpoint, file, NugetApiKey, symbolsResource);
406+
await NuGetInterface.UploadPackageAsync
407+
(uploadResource, NugetNoServiceEndpoint, file, NugetApiKey, symbolsResource);
407408
pushed++;
408409
}
409410
catch (Exception ex)
410411
{
411-
exceptions.Add(new Exception($"Failed to push package \"{file}\"", ex));
412+
if (file.Contains(".Native.")) // native packages have their own update cycle
413+
{
414+
Logger.Warn(ex);
415+
}
416+
else
417+
{
418+
exceptions.Add(new Exception($"Failed to push package \"{file}\"", ex));
419+
}
412420
}
413421
}
414422
}

0 commit comments

Comments
 (0)