Update .github/workflows/tests.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
David Refoua
2025-12-15 06:20:35 +03:30
committed by GitHub
parent 825df3aace
commit a52b0b9e10

View File

@@ -72,9 +72,10 @@ jobs:
if: success() if: success()
shell: pwsh shell: pwsh
run: | run: |
# Get vendor versions # Get vendor versions from sources.json
$vendorInfo = @() $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) { foreach ($dir in $vendorDirs) {
$versionFile = "vendor/$dir/.cmderver" $versionFile = "vendor/$dir/.cmderver"
if (Test-Path $versionFile) { if (Test-Path $versionFile) {