Skip to content

Commit ff3ae88

Browse files
committed
lookup for json report file
1 parent c9c2cb2 commit ff3ae88

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/mend.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,11 @@ jobs:
118118
- name: Check if report is generated
119119
shell: bash
120120
run: |
121-
#file=$(find . -type f -regex ".whitesource/${PROJECT_NAME}.*scan_report\.json" | head -n 1)
121+
#file=$(find . -type f -regex "whitesource/${PROJECT_NAME}.*scan_report\.json" | head -n 1)
122122
#echo -e "\nFound Mend scan log file - $file\n"
123123
pwd
124-
ls -lt
124+
ls -lt whitesource/
125+
find whitesource -type f -name '*scan_report*.json'
125126
126127
upload:
127128
name: Archive mend scan report

0 commit comments

Comments
 (0)