Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download using new APIs #25800

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Download using new APIs #25800

merged 2 commits into from
Nov 13, 2024

Conversation

mattleibow
Copy link
Member

Description of Change

mono is no longer found on machines, so we need to use the NuGet APIs directly.

mono is no longer found on machines
@mattleibow mattleibow requested a review from a team as a code owner November 12, 2024 18:37
Comment on lines +361 to -365
Zip(assetsDir, $"{assetsDir}.zip");
foreach (var nupkg in GetFiles($"{assetsDir}/**/*.nupkg"))
DeleteFile(nupkg);
Zip(assetsDir, $"{assetsDir}.zip");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea how this ever worked... We delete and then zip? Seems to have always been like that since my first commit??? #2415

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

were we actually shipping anything extra?

Copy link
Member

@rmarinho rmarinho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

D:/a/1/s/eng/devices/windows.cake(99,57): error CS0104: 'HashAlgorithmName' is an ambiguous reference between 'NuGet.Common.HashAlgorithmName' and 'System.Security.Cryptography.HashAlgorithmName'

@mattleibow mattleibow added the area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions label Nov 13, 2024
Copy link
Member

@rmarinho rmarinho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if we remove this ? will it fail to build/sign ?

@rmarinho rmarinho merged commit 353f1a3 into main Nov 13, 2024
99 of 108 checks passed
@rmarinho rmarinho deleted the dev/nuget-download branch November 13, 2024 06:47
@mattleibow
Copy link
Member Author

This is used to upload symbols to symweb.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions fixed-in-9.0.21
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants