@ -18183,7 +18183,11 @@ class DotnetCoreInstaller {
if(releasesInfo.length===0){
thrownewError(`Could not find info for version ${versionParts.join('.')} at ${DotNetCoreIndexUrl}`);
}
returnreleasesInfo[0]['releases.json'];
constreleaseInfo=releasesInfo[0];
if(releaseInfo['support-phase']==='eol'){
core.warning(`${releaseInfo['product']}${releaseInfo['channel-version']} is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.`);
@ -285,7 +285,14 @@ export class DotnetCoreInstaller {
);
}
returnreleasesInfo[0]['releases.json'];
constreleaseInfo=releasesInfo[0];
if(releaseInfo['support-phase']==='eol'){
core.warning(
`${releaseInfo['product']}${releaseInfo['channel-version']} is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.`