You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dist/index.js
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18183,7 +18183,11 @@ class DotnetCoreInstaller {
18183
18183
if (releasesInfo.length === 0) {
18184
18184
throw new Error(`Could not find info for version ${versionParts.join('.')} at ${DotNetCoreIndexUrl}`);
18185
18185
}
18186
-
return releasesInfo[0]['releases.json'];
18186
+
const releaseInfo = releasesInfo[0];
18187
+
if (releaseInfo['support-phase'] === 'eol') {
18188
+
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.`);
Copy file name to clipboardExpand all lines: src/installer.ts
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -285,7 +285,14 @@ export class DotnetCoreInstaller {
285
285
);
286
286
}
287
287
288
-
returnreleasesInfo[0]['releases.json'];
288
+
constreleaseInfo=releasesInfo[0];
289
+
if(releaseInfo['support-phase']==='eol'){
290
+
core.warning(
291
+
`${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.`
0 commit comments