Skip to content

Commit a95cc70

Browse files
authored
Update actions.yml
1 parent aac5974 commit a95cc70

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/actions.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,18 @@ jobs:
5050
run: ls -lah ${{ github.workspace }}/
5151
- name: Install Dependency
5252
run: |
53-
sudo apt-get update
54-
sudo apt-get install -y xvfb wkhtmltopdf
53+
sudo apt-get install -y wkhtmltopdf
5554
- name: Generate PDF
5655
run: |
5756
cat ${{ github.workspace }}/sbom.json | jq '.' > ${{ github.workspace }}/sbom_pretty.json
5857
echo "<html><body><pre>$(cat ${{ github.workspace }}/sbom_pretty.json)</pre></body></html>" > ${{ github.workspace }}/sbom.html
59-
xvfb-run wkhtmltopdf --enable-local-file-access file://${{ github.workspace }}/sbom.html ${{ github.workspace }}/sbom.pdf
58+
wkhtmltopdf --enable-local-file-access file://${{ github.workspace }}/sbom.html ${{ github.workspace }}/sbom.pdf
6059
6160
cat ${{ github.workspace }}/sbom.vdr.json | jq '.' > ${{ github.workspace }}/sbomv_pretty.json
6261
echo "<html><body><pre>$(cat ${{ github.workspace }}/sbomv_pretty.json)</pre></body></html>" > ${{ github.workspace }}/sbomv.html
63-
xvfb-run wkhtmltopdf --enable-local-file-access file://${{ github.workspace }}/sbomv.html ${{ github.workspace }}/sbomv.pdf
62+
wkhtmltopdf --enable-local-file-access file://${{ github.workspace }}/sbomv.html ${{ github.workspace }}/sbomv.pdf
6463
65-
xvfb-run wkhtmltopdf --enable-local-file-access file://${{ github.workspace }}/vulRep.html ${{ github.workspace }}/vulRep.pdf
64+
wkhtmltopdf --enable-local-file-access file://${{ github.workspace }}/vulRep.html ${{ github.workspace }}/vulRep.pdf
6665
- name: Mail Reports
6766
uses: dawidd6/action-send-mail@v3
6867
with:

0 commit comments

Comments
 (0)