Skip to content

Commit 5284bbb

Browse files
authored
Merge pull request #7821 from erik-krogh/upload-sarif
QL: upload sarif as part of the QL-for-QL workflow
2 parents 224d7a7 + 7ef0514 commit 5284bbb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ql-for-ql-build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,11 @@ jobs:
189189
uses: github/codeql-action/analyze@erik-krogh/ql
190190
with:
191191
category: "ql-for-ql-${{ matrix.folder }}"
192+
- name: Copy sarif file to CWD
193+
run: cp ../results/ql.sarif ./${{ matrix.folder }}.sarif
194+
- name: Sarif as artifact
195+
uses: actions/upload-artifact@v2
196+
with:
197+
name: ${{ matrix.folder }}.sarif
198+
path: ${{ matrix.folder }}.sarif
192199

0 commit comments

Comments
 (0)