mirror of
https://github.com/cmderdev/cmder.git
synced 2025-12-17 03:01:38 +08:00
Update .github/workflows/tests.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
@@ -72,9 +72,10 @@ jobs:
|
||||
if: success()
|
||||
shell: pwsh
|
||||
run: |
|
||||
# Get vendor versions
|
||||
# Get vendor versions from sources.json
|
||||
$vendorInfo = @()
|
||||
$vendorDirs = @("conemu-maximus5", "clink", "git-for-windows")
|
||||
$sources = Get-Content "sources.json" -Raw | ConvertFrom-Json
|
||||
$vendorDirs = $sources.PSObject.Properties | ForEach-Object { $_.Name }
|
||||
foreach ($dir in $vendorDirs) {
|
||||
$versionFile = "vendor/$dir/.cmderver"
|
||||
if (Test-Path $versionFile) {
|
||||
|
||||
Reference in New Issue
Block a user