Skip to content

Commit 0f0d596

Browse files
authored
Update update-dotnet-version.yml
1 parent 7b03aec commit 0f0d596

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/update-dotnet-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
id: active-dotnet-version
2626
shell: pwsh
2727
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 ","
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" -or $_."support-phase" -eq "maintenance") | Sort-Object -Property channel-version -Descending } | Select -Property channel-version)."channel-version") -split "," | ForEach-Object { "net$_" }) -join ","
2929
if ([string]::IsNullOrWhitespace($activeVersions)) {
3030
exit 1
3131
}

0 commit comments

Comments
 (0)