-
Notifications
You must be signed in to change notification settings - Fork 7
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
Tasks use outdated node #41
Comments
@isaacabraham and @matthid - Indeed, this is a problem for us too. We are using your Is this something that can be updated? If not, what do you recommend that I do for a replacement? Right now we only have this one line in our YML file which produces the error: Thanks! Our error message looks like this:
|
My interim solution was to use a different tool to configure the credential manager. I think this works, we'll see how it goes in the long run. Old code (gives deprecation error message):
New code (seems to work I think):
|
This task no longer works at all on the latest windows-2022 agents as the required dotnet framework is not present. I upgraded this authentication plugin https://github.com/slang25/Paket.CredentialProvider.Gen2Support to dotnet5 and install it into the plugin folder then call the standard NuGetAuthenticate@0 task. |
We hit the same issue as above ^ with nuget requirements on other Microsoft Hosted agents. It appears this repo is not actively maintained. See the Microsoft Hosted Agents notice: actions/runner-images#4871 There is a temporary work-around to explicitly add the "Use Dot Net Core" task to install the 2.x version you need: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/dotnet-core-tool-installer?view=azure-devops Note this is a separate issue than the Node version issue described above. I'll open a separate instance for clarity. Update: Not really an issue as much as a pre-req. Note that once you specify the 2.x using a task, it can also mean you have to specify other versions you need. We've gotten farther adding these steps to our Azure Devops YAML pipeline:
|
Description
It seems that azure devops tasks will no longer work with node 6 in march 2022 so they are now displaying a warning in each pipeline run.
Repro steps
Run one of the tasks in a pipeline and read the log.
Expected behavior
no warning.
Actual behavior
a warning.
Details
2021-12-03T17:39:53.9247604Z ##[section]Starting: Setup Paket Credential Manager
2021-12-03T17:39:53.9372982Z ==============================================================================
2021-12-03T17:39:53.9373420Z Task : Paket Credential Manager
2021-12-03T17:39:53.9374079Z Description : Creates a credential manager for Paket to access internal NuGet feeds.
2021-12-03T17:39:53.9374470Z Version : 0.2.5
2021-12-03T17:39:53.9374744Z Author : Matthias Dittrich
2021-12-03T17:39:53.9375248Z Help : This task allows you to consume NuGet packages hosted in your own private feed by providing a credential manager.
2021-12-03T17:39:53.9375786Z ==============================================================================
2021-12-03T17:39:53.9560702Z ##[warning]This task uses Node 6 execution handler, which will be removed March 31st 2022. If you are the developer of the task - please consider the migration guideline to Node 10 handler - https://aka.ms/migrateTaskNode10 (check this page also if you would like to disable Node 6 deprecation warnings). If you are the user - feel free to reach out to the owners of this task to proceed on migration.
The text was updated successfully, but these errors were encountered: