Skip to content

Commit b4937de

Browse files
committed
abc
1 parent 8fc3d74 commit b4937de

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/scripts/ort-scanner.es

+2
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ scan(#{ input := InputScanResult, strategy := Strategy, tool := Tool, path := Pa
255255

256256
NewScanners = #{ K => lists:usort([ScannerName | V]) || K := V <- Scanners},
257257

258+
ok = file:copy(filename:join(Area, "reuse.json"), filename:join(filename:dirname(maps:get(output, Args)), "reuse.json")),
259+
258260
ok = file:write_file(
259261
maps:get(output, Args),
260262
json:format(

.github/workflows/main.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,6 @@ jobs:
762762
"/github/.github/scripts/ort-scanner.es scan -t scancode -s fill \
763763
-i $HOME/.ort/ort-results/scan-result.cache.json \
764764
-o $HOME/.ort/ort-results/scan-result.json /github"
765-
diff $HOME/.ort/ort-results/scan-result.json ${{ env.SCAN_RESULT_CACHE_PATH }} || true
766765
767766
- name: Run OSS Review Toolkit (scanner)
768767
if: hashFiles(env.SCAN_RESULT_CACHE_PATH) == ''
@@ -786,8 +785,7 @@ jobs:
786785
with:
787786
name: ort-scan-results
788787
path: |
789-
/home/runner/.ort/ort-results/analyzer-result.json
790-
/home/runner/.ort/ort-results/scan-result*.json
788+
/home/runner/.ort/ort-results/*.json
791789
${{ env.SCAN_RESULT_CACHE_PATH }}
792790
793791
- name: Copy to cache and link results

0 commit comments

Comments
 (0)