Skip to content

Commit

Permalink
indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AkazaRenn committed Aug 29, 2024
1 parent 6bc4c85 commit 6b8e4ab
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
$csprojFiles = Get-ChildItem -Path './*.csproj', '**/*.csproj'
$versions = @()
foreach ($file in $csprojFiles) {
[xml]$csproj = Get-Content -Path $file.FullName
$framework = $csproj.Project.PropertyGroup.TargetFramework
$framework
if ($framework -match 'net(\d+\.\d+)') {
$version = $matches[1]
Write-Host "$($file.FullName): $version"
$versions += $version
}
[xml]$csproj = Get-Content -Path $file.FullName
$framework = $csproj.Project.PropertyGroup.TargetFramework
$framework
if ($framework -match 'net(\d+\.\d+)') {
$version = $matches[1]
Write-Host "$($file.FullName): $version"
$versions += $version
}
}
$uniqueversions = $versions | Sort-Object -Unique
$uniqueversions -join ',' | Out-File -FilePath versions.txt
Expand Down

0 comments on commit 6b8e4ab

Please sign in to comment.