mirror of
https://github.com/cmderdev/cmder.git
synced 2025-12-17 03:01:38 +08:00
Update .github/workflows/build.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -86,8 +86,12 @@ jobs:
|
|||||||
|
|
||||||
# Read vendor sources.json and add to summary
|
# Read vendor sources.json and add to summary
|
||||||
$vendorSources = Get-Content "vendor/sources.json" | ConvertFrom-Json
|
$vendorSources = Get-Content "vendor/sources.json" | ConvertFrom-Json
|
||||||
foreach ($vendor in $vendorSources) {
|
if ($vendorSources.Count -eq 0) {
|
||||||
$summary += "`n| ``$($vendor.name)`` | $($vendor.version) |"
|
$summary += "`n| _No vendor packages found_ | |"
|
||||||
|
} else {
|
||||||
|
foreach ($vendor in $vendorSources) {
|
||||||
|
$summary += "`n| ``$($vendor.name)`` | $($vendor.version) |"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$summary += "`n"
|
$summary += "`n"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user