We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b03aec commit 0f0d596Copy full SHA for 0f0d596
1 file changed
.github/workflows/update-dotnet-version.yml
@@ -25,7 +25,7 @@ jobs:
25
id: active-dotnet-version
26
shell: pwsh
27
run: |
28
- $activeVersions = ((((Invoke-WebRequest -Uri "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json" -UseBasicParsing | ConvertFrom-Json)."releases-index" | Where-Object { $_."product" -eq ".NET" -and $_."support-phase" -eq "active" | Sort-Object -Property channel-version -Descending } | Select -Property channel-version)."channel-version") -split "," | ForEach-Object { "net$_" }) -join ","
+ $activeVersions = ((((Invoke-WebRequest -Uri "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json" -UseBasicParsing | ConvertFrom-Json)."releases-index" | Where-Object { $_."product" -eq ".NET" -and ($_."support-phase" -eq "active" -or $_."support-phase" -eq "maintenance") | Sort-Object -Property channel-version -Descending } | Select -Property channel-version)."channel-version") -split "," | ForEach-Object { "net$_" }) -join ","
29
if ([string]::IsNullOrWhitespace($activeVersions)) {
30
exit 1
31
}
0 commit comments