Skip to content

Commit fcd60bd

Browse files
committed
Upload InspectCode output to artefacts
1 parent c5ae8ca commit fcd60bd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,11 @@ jobs:
169169
$inspectCodeOutputPath = Join-Path $env:RUNNER_TEMP 'jetbrains-inspectcode-results.xml'
170170
Write-Output "INSPECT_CODE_OUTPUT_PATH=$inspectCodeOutputPath" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
171171
dotnet jb inspectcode JsonApiDotNetCore.sln --build --dotnetcoresdk=$(dotnet --version) --output="$inspectCodeOutputPath" --format="xml" --profile=WarningSeverities.DotSettings --properties:Configuration=Release --properties:ContinuousIntegrationBuild=false --properties:RunAnalyzers=false --severity=WARNING --verbosity=WARN -dsl=GlobalAll -dsl=GlobalPerProduct -dsl=SolutionPersonal -dsl=ProjectPersonal
172+
- name: Upload output to artifacts
173+
uses: actions/upload-artifact@v4
174+
with:
175+
name: InspectCode-${{ matrix.os }}
176+
path: ${{ env.INSPECT_CODE_OUTPUT_PATH }}
172177
- name: Verify outcome
173178
shell: pwsh
174179
run: |

0 commit comments

Comments
 (0)