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

Use NuGet.exe instead of dotnet nuget #630

Merged
merged 1 commit into from
Dec 7, 2021

Conversation

kevinchalet
Copy link
Member

Our build workflow relies on dotnet nuget push to push NuGet packages to MyGet.org/NuGet.org.

While the .NET SDK is generally present on most GitHub workers, actions/setup-dotnet@v1 is called quite early to install a fixed .NET SDK version that will be exclusively used for pushing packages (since .NET Arcade takes care of installing the SDK and runtimes listed in global.json). On Windows workers, this step can take up to 50 seconds:

image

This PR replaces actions/setup-dotnet@v1 by nuget/setup-nuget@v1 - that typically runs in less than a second - and updates the 2 "Push NuGet packages" steps to use NuGet.exe:

image

@kevinchalet kevinchalet merged commit 47fe4c1 into aspnet-contrib:dev Dec 7, 2021
@kevinchalet kevinchalet deleted the build branch December 7, 2021 16:49
@martincostello martincostello added this to the 6.0.1 milestone Dec 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants