Skip to content

Commit 9638258

Browse files
paulirwinnikcioclaudeNightOwl888
authored
Cache NuGet Packages (GitHub Actions) (#1172)
* feat: Added packages.lock.json * ci: Add cache step * Regenerate github workflows * Rebuild packages.lock.json files with latest dependencies * Exclude packages.lock.json from editorconfig checks The packages.lock.json files are auto-generated by .NET and don't include a final newline, causing the editorconfig checker to fail. Since we can't control the format of these generated files, we exclude them from the checks. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * Revert "Rebuild packages.lock.json files with latest dependencies" This reverts commit a022a27. * Revert "feat: Added packages.lock.json" This reverts commit 1f64653. * .github/workflows/Generate-TestWorkflows.ps1: Removed step to set DOTNET_CLI_TELEMETRY_OPTOUT and DOTNET_NOLOGO actively and added them to the job directly. This step was taking 5-6 seconds just to set some variables. * .github/workflows/Generate-TestWorflows.ps1: Removed cache step, but keep restore separate to determine how much time restore vs build takes * Regenerated test workflows * Directory.Build.props: Whitespace only commit to trigger build * .github/workflows/Generate-TestWorkflows.ps1: Added --no-cache --force to restore as a temporary step to bust the old caching to get the build running * Regenerated test workflows * .github/workflows/Generate-TestWorkflows.ps1: Added missing TestFrameworks=true parameter on dotnet restore command. This is required to enable all target frameworks for tests. * Regenerated test workflows * .github/workflows/Generate-TestWorkflows.ps1: Added cache step with key based on all MSBuild files that manage package versions and references * Regenerated test workflows * .github/workflows/Generate-TestWorkflows.ps1: Set the NUGET_PACKAGES directory, since we use it for cache stability and the agent doesn't set it * Regenerated test workflows * Lucene.Net.Tests.AllProjects: Whitespace only change to test cache hit * Lucene.Net.Tests.AllProjects: Whitespace only change to test cache miss * Revert "Lucene.Net.Tests.AllProjects: Whitespace only change to test cache miss" This reverts commit 6e02d03. * Revert "Lucene.Net.Tests.AllProjects: Whitespace only change to test cache hit" This reverts commit c5250b9. * Revert "Directory.Build.props: Whitespace only commit to trigger build" This reverts commit 60201c1. * .github/workflows/sonar.yml: Updated to use the same cache key as other workflows that require dotnet restore * .github/workflows/sonar.yml: Temporarily enable in PRs for testing purposes * Lucene.Net.Expressions: Added private dependency on Antlr4.CodeGenerator, which contains a .jar file that Antlr4BuildTasks depends on. * .github/workflows/sonar.yml: Added env.BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS to the cache key, restore, and build to ensure that all of the test target frameworks are included in the cache and scan * .github/workflows/sonar.yml: Bumped action versions - setup-dotnet@v5, setup-java@v5, checkout@v5, cache@v4. Also changed shell to pwsh rather than powershell, where specified. * .github/workflows/Generate-TestWorkflows.ps1: Added env.BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS to the cache key, restore, and build to ensure that all of the test target frameworks are inlcuded in the cache (or we get a separate cache) * .github/workflows/Generate-TestWorkflows.ps1: Bumped action versions - setup-dotnet@v5, checkout@v5 * Regenerated test workflows * Revert ".github/workflows/sonar.yml: Temporarily enable in PRs for testing purposes" This reverts commit 3e77d68. * Lucene.Net.Expressions.csproj: Exclude all assets from Antlr4.CodeGenerator. We are only after the .jar file. * Lucene.Net.Expressions: Set the Antlr4ToolPath so Antlr4BuildTasks can find the jar file without including any assets from Antlr4.CodeGenerator. * Lucene.Net.Expressions.csproj: Fixed .editorconfig rule violation * .github/workflows/Generate-TestWorkflows.ps1: Added task to post test results to the GitHub Actions summary * Regenerated test workflows --------- Co-authored-by: Nikolaj Brask-Nielsen <[email protected]> Co-authored-by: Claude <[email protected]> Co-authored-by: Shad Storhaug <[email protected]>
1 parent 82a32df commit 9638258

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1260
-498
lines changed

.build/dependencies.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
-->
2121
<Project>
2222
<PropertyGroup Label="NuGet Package Reference Versions">
23+
<Antlr4CodeGeneratorPackageVersion>4.6.6</Antlr4CodeGeneratorPackageVersion>
2324
<Antlr4RuntimeStandardPackageVersion>4.13.1</Antlr4RuntimeStandardPackageVersion>
2425
<Antlr4BuildTasksPackageVersion>12.8.0</Antlr4BuildTasksPackageVersion>
2526
<!-- LUCENENET TODO: When ICU4N is released to production,

.editorconfig-checker.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"\\.resx$",
99
"\\.DotSettings$",
1010
"App\\.config$",
11-
"\\.htaccess$"
11+
"\\.htaccess$",
12+
"packages\\.lock\\.json$"
1213
],
1314
"AllowedContentTypes": [],
1415
"PassedFiles": [],

.github/workflows/Generate-TestWorkflows.ps1

Lines changed: 34 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -----------------------------------------------------------------------------------
1+
# -----------------------------------------------------------------------------------
22
#
33
# Licensed to the Apache Software Foundation (ASF) under one or more
44
# contributor license agreements. See the NOTICE file distributed with
@@ -258,8 +258,11 @@ jobs:
258258
- os: macos-latest
259259
framework: net472
260260
env:
261+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
262+
DOTNET_NOLOGO: 1
263+
NUGET_PACKAGES: `${{ github.workspace }}/.nuget/packages
264+
BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS: 'true'
261265
project_path: '$projectRelativePath'"
262-
263266
if ($isCLI) {
264267
$fileText += "
265268
project_under_test_path: '$luceneCliProjectPath'
@@ -275,30 +278,38 @@ jobs:
275278
276279
steps:
277280
- name: Checkout Source Code
278-
uses: actions/checkout@v3
279-
280-
- name: Disable .NET SDK Telemetry and Logo
281-
run: |
282-
echo `"DOTNET_NOLOGO=1`" | Out-File -FilePath `$env:GITHUB_ENV -Encoding utf8 -Append
283-
echo `"DOTNET_CLI_TELEMETRY_OPTOUT=1`" | Out-File -FilePath `$env:GITHUB_ENV -Encoding utf8 -Append
284-
shell: pwsh
281+
uses: actions/checkout@v5
285282
286283
- name: Setup .NET 6 SDK
287-
uses: actions/setup-dotnet@v3
284+
uses: actions/setup-dotnet@v5
288285
with:
289286
dotnet-version: '$DotNet6SDKVersion'
290287
if: `${{ startswith(matrix.framework, 'net6.') }}
291288
292289
- name: Setup .NET 8 SDK
293-
uses: actions/setup-dotnet@v3
290+
uses: actions/setup-dotnet@v5
294291
with:
295292
dotnet-version: '$DotNet8SDKVersion'
296293
297294
- name: Setup .NET 9 SDK
298-
uses: actions/setup-dotnet@v3
295+
uses: actions/setup-dotnet@v5
299296
with:
300297
dotnet-version: '$DotNet9SDKVersion'
301298
299+
- name: Cache NuGet Packages
300+
uses: actions/cache@v4
301+
with:
302+
# '**/*.*proj' includes .csproj, .vbproj, .fsproj, msbuildproj, etc.
303+
# '**/*.props' includes Directory.Packages.props, Directory.Build.props and Dependencies.props
304+
# '**/*.targets' includes Directory.Build.targets
305+
# '**/*.sln' and '*.sln' ensure root solution files are included (minimatch glitch for file extension .sln)
306+
# 'global.json' included for SDK version changes
307+
key: nuget-`${{ runner.os }}-`${{ env.BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS }}-`${{ hashFiles('**/*.*proj', '**/*.props', '**/*.targets', '**/*.sln', '*.sln', 'global.json') }}
308+
path: `${{ env.NUGET_PACKAGES }}
309+
310+
- name: Restore
311+
run: dotnet restore /p:TestFrameworks=`${{ env.BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS }}
312+
302313
- name: Setup Environment Variables
303314
run: |
304315
`$project_name = [System.IO.Path]::GetFileNameWithoutExtension(`$env:project_path)
@@ -312,17 +323,17 @@ jobs:
312323
# Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable
313324
echo `"SYSTEM_DEFAULTWORKINGDIRECTORY=`$working_directory`" | Out-File -FilePath `$env:GITHUB_ENV -Encoding utf8 -Append
314325
# Title for LiquidTestReports.Markdown
315-
echo `"title=Test Run for `$project_name - `${{matrix.framework}} - `${{matrix.platform}} - `${{matrix.os}}`" | Out-File -FilePath `$env:GITHUB_ENV -Encoding utf8 -Append
326+
echo `"title=Test Results for `$project_name - `${{matrix.framework}} - `${{matrix.platform}} - `${{matrix.os}}`" | Out-File -FilePath `$env:GITHUB_ENV -Encoding utf8 -Append
316327
shell: pwsh"
317328

318329
if ($isCLI) {
319330
# Special case: Generate lucene-cli.nupkg for installation test so the test runner doesn't have to do it
320331
$fileText += "
321-
- run: dotnet pack `${{env.project_under_test_path}} --configuration `${{matrix.configuration}} /p:TestFrameworks=true /p:PortableDebugTypeOnly=true"
332+
- run: dotnet pack `${{env.project_under_test_path}} --configuration `${{matrix.configuration}} --no-restore /p:TestFrameworks=`${{ env.BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS }} /p:PortableDebugTypeOnly=true"
322333
}
323334

324335
$fileText += "
325-
- run: dotnet build `${{env.project_path}} --configuration `${{matrix.configuration}} --framework `${{matrix.framework}} /p:TestFrameworks=true
336+
- run: dotnet build `${{env.project_path}} --configuration `${{matrix.configuration}} --framework `${{matrix.framework}} --no-restore /p:TestFrameworks=`${{ env.BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS }}
326337
- run: dotnet test `${{env.project_path}} --configuration `${{matrix.configuration}} --framework `${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:`"console;verbosity=normal`" --logger:`"trx;LogFileName=`${{env.trx_file_name}}`" --logger:`"liquid.md;LogFileName=`${{env.md_file_name}};Title=`${{env.title}};`" --results-directory:`"`${{github.workspace}}/`${{env.test_results_artifact_name}}/`${{env.project_name}}`" -- RunConfiguration.TargetPlatform=`${{matrix.platform}} NUnit.DisplayName=FullName TestRunParameters.Parameter\(name=\`"tests:slow\`",\ value=\`"\`${{env.run_slow_tests}}\`"\)
327338
shell: bash
328339
# upload reports as build artifacts
@@ -332,6 +343,14 @@ jobs:
332343
with:
333344
name: '`${{env.test_results_artifact_name}}'
334345
path: '`${{github.workspace}}/`${{env.test_results_artifact_name}}'
346+
- name: Output Test Summary
347+
if: `${{always()}}
348+
shell: pwsh
349+
run: |
350+
`$md_file = Join-Path `${{github.workspace}} `${{env.test_results_artifact_name}} `${{env.project_name}} `${{env.md_file_name}}
351+
if (Test-Path `$md_file) {
352+
Get-Content `$md_file | Add-Content `$env:GITHUB_STEP_SUMMARY
353+
}
335354
"
336355

337356
# GitHub Actions does not support filenames with "." in them, so replace

.github/workflows/Lucene-Net-Tests-AllProjects.yml

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
####################################################################################
1+
####################################################################################
22
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
33
####################################################################################
44
# Licensed to the Apache Software Foundation (ASF) under one
@@ -86,37 +86,49 @@ jobs:
8686
- os: macos-latest
8787
framework: net472
8888
env:
89+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
90+
DOTNET_NOLOGO: 1
91+
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
92+
BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS: 'true'
8993
project_path: './src/Lucene.Net.Tests.AllProjects/Lucene.Net.Tests.AllProjects.csproj'
9094
run_slow_tests: 'false'
9195
trx_file_name: 'TestResults.trx'
9296
md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown
9397

9498
steps:
9599
- name: Checkout Source Code
96-
uses: actions/checkout@v3
97-
98-
- name: Disable .NET SDK Telemetry and Logo
99-
run: |
100-
echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
101-
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
102-
shell: pwsh
100+
uses: actions/checkout@v5
103101

104102
- name: Setup .NET 6 SDK
105-
uses: actions/setup-dotnet@v3
103+
uses: actions/setup-dotnet@v5
106104
with:
107105
dotnet-version: '6.0.x'
108106
if: ${{ startswith(matrix.framework, 'net6.') }}
109107

110108
- name: Setup .NET 8 SDK
111-
uses: actions/setup-dotnet@v3
109+
uses: actions/setup-dotnet@v5
112110
with:
113111
dotnet-version: '8.0.x'
114112

115113
- name: Setup .NET 9 SDK
116-
uses: actions/setup-dotnet@v3
114+
uses: actions/setup-dotnet@v5
117115
with:
118116
dotnet-version: '9.0.x'
119117

118+
- name: Cache NuGet Packages
119+
uses: actions/cache@v4
120+
with:
121+
# '**/*.*proj' includes .csproj, .vbproj, .fsproj, msbuildproj, etc.
122+
# '**/*.props' includes Directory.Packages.props, Directory.Build.props and Dependencies.props
123+
# '**/*.targets' includes Directory.Build.targets
124+
# '**/*.sln' and '*.sln' ensure root solution files are included (minimatch glitch for file extension .sln)
125+
# 'global.json' included for SDK version changes
126+
key: nuget-${{ runner.os }}-${{ env.BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS }}-${{ hashFiles('**/*.*proj', '**/*.props', '**/*.targets', '**/*.sln', '*.sln', 'global.json') }}
127+
path: ${{ env.NUGET_PACKAGES }}
128+
129+
- name: Restore
130+
run: dotnet restore /p:TestFrameworks=${{ env.BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS }}
131+
120132
- name: Setup Environment Variables
121133
run: |
122134
$project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path)
@@ -130,9 +142,9 @@ jobs:
130142
# Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable
131143
echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
132144
# Title for LiquidTestReports.Markdown
133-
echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
145+
echo "title=Test Results for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
134146
shell: pwsh
135-
- run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true
147+
- run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-restore /p:TestFrameworks=${{ env.BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS }}
136148
- run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} NUnit.DisplayName=FullName TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\)
137149
shell: bash
138150
# upload reports as build artifacts
@@ -142,4 +154,12 @@ jobs:
142154
with:
143155
name: '${{env.test_results_artifact_name}}'
144156
path: '${{github.workspace}}/${{env.test_results_artifact_name}}'
157+
- name: Output Test Summary
158+
if: ${{always()}}
159+
shell: pwsh
160+
run: |
161+
$md_file = Join-Path ${{github.workspace}} ${{env.test_results_artifact_name}} ${{env.project_name}} ${{env.md_file_name}}
162+
if (Test-Path $md_file) {
163+
Get-Content $md_file | Add-Content $env:GITHUB_STEP_SUMMARY
164+
}
145165

.github/workflows/Lucene-Net-Tests-Analysis-Common.yml

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
####################################################################################
1+
####################################################################################
22
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
33
####################################################################################
44
# Licensed to the Apache Software Foundation (ASF) under one
@@ -70,37 +70,49 @@ jobs:
7070
- os: macos-latest
7171
framework: net472
7272
env:
73+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
74+
DOTNET_NOLOGO: 1
75+
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
76+
BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS: 'true'
7377
project_path: './src/Lucene.Net.Tests.Analysis.Common/Lucene.Net.Tests.Analysis.Common.csproj'
7478
run_slow_tests: 'false'
7579
trx_file_name: 'TestResults.trx'
7680
md_file_name: 'TestResults.md' # Report file name for LiquidTestReports.Markdown
7781

7882
steps:
7983
- name: Checkout Source Code
80-
uses: actions/checkout@v3
81-
82-
- name: Disable .NET SDK Telemetry and Logo
83-
run: |
84-
echo "DOTNET_NOLOGO=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
85-
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
86-
shell: pwsh
84+
uses: actions/checkout@v5
8785

8886
- name: Setup .NET 6 SDK
89-
uses: actions/setup-dotnet@v3
87+
uses: actions/setup-dotnet@v5
9088
with:
9189
dotnet-version: '6.0.x'
9290
if: ${{ startswith(matrix.framework, 'net6.') }}
9391

9492
- name: Setup .NET 8 SDK
95-
uses: actions/setup-dotnet@v3
93+
uses: actions/setup-dotnet@v5
9694
with:
9795
dotnet-version: '8.0.x'
9896

9997
- name: Setup .NET 9 SDK
100-
uses: actions/setup-dotnet@v3
98+
uses: actions/setup-dotnet@v5
10199
with:
102100
dotnet-version: '9.0.x'
103101

102+
- name: Cache NuGet Packages
103+
uses: actions/cache@v4
104+
with:
105+
# '**/*.*proj' includes .csproj, .vbproj, .fsproj, msbuildproj, etc.
106+
# '**/*.props' includes Directory.Packages.props, Directory.Build.props and Dependencies.props
107+
# '**/*.targets' includes Directory.Build.targets
108+
# '**/*.sln' and '*.sln' ensure root solution files are included (minimatch glitch for file extension .sln)
109+
# 'global.json' included for SDK version changes
110+
key: nuget-${{ runner.os }}-${{ env.BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS }}-${{ hashFiles('**/*.*proj', '**/*.props', '**/*.targets', '**/*.sln', '*.sln', 'global.json') }}
111+
path: ${{ env.NUGET_PACKAGES }}
112+
113+
- name: Restore
114+
run: dotnet restore /p:TestFrameworks=${{ env.BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS }}
115+
104116
- name: Setup Environment Variables
105117
run: |
106118
$project_name = [System.IO.Path]::GetFileNameWithoutExtension($env:project_path)
@@ -114,9 +126,9 @@ jobs:
114126
# Set the Azure DevOps default working directory env variable, so our tests only need to deal with a single env variable
115127
echo "SYSTEM_DEFAULTWORKINGDIRECTORY=$working_directory" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
116128
# Title for LiquidTestReports.Markdown
117-
echo "title=Test Run for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
129+
echo "title=Test Results for $project_name - ${{matrix.framework}} - ${{matrix.platform}} - ${{matrix.os}}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
118130
shell: pwsh
119-
- run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} /p:TestFrameworks=true
131+
- run: dotnet build ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-restore /p:TestFrameworks=${{ env.BUILD_FOR_ALL_TEST_TARGET_FRAMEWORKS }}
120132
- run: dotnet test ${{env.project_path}} --configuration ${{matrix.configuration}} --framework ${{matrix.framework}} --no-build --no-restore --blame-hang --blame-hang-dump-type mini --blame-hang-timeout 20minutes --logger:"console;verbosity=normal" --logger:"trx;LogFileName=${{env.trx_file_name}}" --logger:"liquid.md;LogFileName=${{env.md_file_name}};Title=${{env.title}};" --results-directory:"${{github.workspace}}/${{env.test_results_artifact_name}}/${{env.project_name}}" -- RunConfiguration.TargetPlatform=${{matrix.platform}} NUnit.DisplayName=FullName TestRunParameters.Parameter\(name=\"tests:slow\",\ value=\"\${{env.run_slow_tests}}\"\)
121133
shell: bash
122134
# upload reports as build artifacts
@@ -126,4 +138,12 @@ jobs:
126138
with:
127139
name: '${{env.test_results_artifact_name}}'
128140
path: '${{github.workspace}}/${{env.test_results_artifact_name}}'
141+
- name: Output Test Summary
142+
if: ${{always()}}
143+
shell: pwsh
144+
run: |
145+
$md_file = Join-Path ${{github.workspace}} ${{env.test_results_artifact_name}} ${{env.project_name}} ${{env.md_file_name}}
146+
if (Test-Path $md_file) {
147+
Get-Content $md_file | Add-Content $env:GITHUB_STEP_SUMMARY
148+
}
129149

0 commit comments

Comments
 (0)