mirror of
https://github.com/actions/runner.git
synced 2026-03-28 09:19:14 +08:00
Improve deprecation message: list actions running on node20, suggest checking for updates
This commit is contained in:
@@ -740,7 +740,7 @@ namespace GitHub.Runner.Worker
|
||||
if (context.Global.DeprecatedNode20Actions?.Count > 0)
|
||||
{
|
||||
var actionsList = string.Join(", ", context.Global.DeprecatedNode20Actions);
|
||||
var deprecationMessage = $"Node.js 20 actions are deprecated. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2025. Please update the following actions to use Node.js 24: {actionsList}. For more information see: {Constants.Runner.NodeMigration.Node20DeprecationUrl}";
|
||||
var deprecationMessage = $"Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: {actionsList}. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2025. Please check if updated versions of these actions are available that support Node.js 24. For more information see: {Constants.Runner.NodeMigration.Node20DeprecationUrl}";
|
||||
context.Warning(deprecationMessage);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user