Skip to content

Commit 6b0c4dc

Browse files
committed
add a new step to upload raw sarif file
1 parent e131ef0 commit 6b0c4dc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/terrascan.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,14 @@ jobs:
3636
pwd
3737
ls -l
3838
# ls -l "${{ github.workspace }}/"
39-
tree -d /
40-
find ./ -name terrascan.sarif
39+
tree -d ./
40+
# find ./ -name terrascan.sarif
41+
42+
- name: upload sarif file
43+
uses: actions/upload-artifact@v3
44+
with:
45+
name: terrascan.sarif
46+
path: ${{ github.workspace }}/terrascan.sarif
4147

4248
- name: Upload SARIF file
4349
uses: github/codeql-action/upload-sarif@v3

0 commit comments

Comments
 (0)