diff --git a/.github/workflows/Generate-TestWorkflows.ps1 b/.github/workflows/Generate-TestWorkflows.ps1 index aeac4034eb..0ca7a5e51f 100644 --- a/.github/workflows/Generate-TestWorkflows.ps1 +++ b/.github/workflows/Generate-TestWorkflows.ps1 @@ -100,9 +100,6 @@ function Get-ProjectDependencies([string]$ProjectPath, [string]$RelativeRoot, [S $rootPath = [System.IO.Path]::GetDirectoryName($resolvedProjectPath) [xml]$project = Get-Content $resolvedProjectPath foreach ($name in $project.SelectNodes("//Project/ItemGroup/ProjectReference") | ForEach-Object { $_.Include -split ';'}) { - #Write-Host "$rootPath" - #Write-Host "$name" - #Write-Host [System.IO.Path]::Combine($rootPath, $name) $dependencyFullPath = [System.IO.Path]::GetFullPath([System.IO.Path]::Combine($rootPath, $name)) Get-ProjectDependencies $dependencyFullPath $RelativeRoot $Result $dependency = Resolve-RelativePath $RelativeRoot $dependencyFullPath @@ -269,9 +266,9 @@ jobs: path: '`${{github.workspace}}/`${{env.test_results_artifact_name}}' " - # GitHub Actions does not support filenames with "." in them, so replace - # with "-" - $projectFileName = $projectName -replace '\.', '-' + # GitHub Actions does not support filenames with "." or "_" in them, so replace + # with "-" and "" respectively + $projectFileName = $projectName -replace '\.', '-' -replace '_', '' $FilePath = "$OutputDirectory/$projectFileName.yml" #$dir = [System.IO.Path]::GetDirectoryName($File) diff --git a/.github/workflows/Lucene-Net-Tests-_A-D.yml b/.github/workflows/Lucene-Net-Tests-A-D.yml similarity index 100% rename from .github/workflows/Lucene-Net-Tests-_A-D.yml rename to .github/workflows/Lucene-Net-Tests-A-D.yml diff --git a/.github/workflows/Lucene-Net-Tests-_E-I.yml b/.github/workflows/Lucene-Net-Tests-E-I.yml similarity index 100% rename from .github/workflows/Lucene-Net-Tests-_E-I.yml rename to .github/workflows/Lucene-Net-Tests-E-I.yml diff --git a/.github/workflows/Lucene-Net-Tests-_I-J.yml b/.github/workflows/Lucene-Net-Tests-I-J.yml similarity index 100% rename from .github/workflows/Lucene-Net-Tests-_I-J.yml rename to .github/workflows/Lucene-Net-Tests-I-J.yml diff --git a/.github/workflows/Lucene-Net-Tests-_J-S.yml b/.github/workflows/Lucene-Net-Tests-J-S.yml similarity index 100% rename from .github/workflows/Lucene-Net-Tests-_J-S.yml rename to .github/workflows/Lucene-Net-Tests-J-S.yml diff --git a/.github/workflows/Lucene-Net-Tests-_T-Z.yml b/.github/workflows/Lucene-Net-Tests-T-Z.yml similarity index 100% rename from .github/workflows/Lucene-Net-Tests-_T-Z.yml rename to .github/workflows/Lucene-Net-Tests-T-Z.yml diff --git a/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs b/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs index e769ce7037..3a82d9d893 100644 --- a/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs +++ b/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs @@ -735,4 +735,4 @@ public override void Run() } } } -} \ No newline at end of file +}