File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,6 +107,17 @@ jobs:
107107 path : .sarif/resharper.sarif
108108 retention-days : 7
109109
110+ - name : Upload Roslyn SARIF artifacts
111+ if : always()
112+ uses : actions/upload-artifact@v4
113+ with :
114+ name : sarif-roslyn
115+ path : |
116+ .sarif/*.sarif
117+ !.sarif/resharper.sarif
118+ retention-days : 7
119+ if-no-files-found : warn
120+
110121 # ==============================================================================
111122 # 2) Snyk Security Scan -> SARIF artifact
112123 # ==============================================================================
@@ -438,20 +449,8 @@ jobs:
438449 path : coverage-merged/
439450 retention-days : 7
440451
441- - name : List Roslyn SARIF files
442- if : always()
443- run : |
444- echo "Roslyn SARIF files generated (per-project, SARIF 2.1):"
445- ls -la .sarif/*.sarif 2>/dev/null || echo "No SARIF files found"
446-
447- - name : Upload Roslyn SARIF Artifacts
448- if : always()
449- uses : actions/upload-artifact@v4
450- with :
451- name : sarif-roslyn
452- path : .sarif/*.sarif
453- retention-days : 7
454- if-no-files-found : warn
452+ # Roslyn SARIF artifacts are uploaded by ReSharper_Analysis job
453+ # (which builds without SonarScanner wrapper that can suppress ErrorLog output)
455454
456455 # ==============================================================================
457456 # 5) GitHub Code Scanning Upload (SARIF → Security tab)
You can’t perform that action at this time.
0 commit comments