File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3434 id : run_talisman
3535 run : ~/.talisman/bin/talisman_linux_amd64 --scan
3636 continue-on-error : true
37-
37+
3838 - name : Convert JSON to HTML
3939 run : |
4040 python3 -c "
@@ -48,13 +48,14 @@ jobs:
4848 with open('talisman_html_report/report.html', 'w') as f:
4949 f.write(html)
5050 " && wkhtmltopdf talisman_html_report/report.html talisman_report.pdf
51-
51+
5252 - name : Upload Report
53- uses : actions/upload-artifact@v2
53+ id : upload_report
54+ uses : actions/upload-artifact@v4
5455 with :
5556 name : talisman-report-pdf
5657 path : talisman_report.pdf
5758
5859 - name : Check the status of talisman scan
5960 run : |
60- if [[ ${{ steps.run_talisman.outcome }} == "success" ]]; then exit 0; else echo "Download the Talisman scan report from Artifact" && exit 1; fi
61+ if [[ ${{ steps.run_talisman.outcome }} == "success" ]]; then exit 0; else echo "Download the Talisman scan report from Artifact: ${{ steps.upload_report.outputs.artifact-url }} " && exit 1; fi
You can’t perform that action at this time.
0 commit comments