Skip to content

Commit

Permalink
Log virus report to console
Browse files Browse the repository at this point in the history
  • Loading branch information
kmturley committed Sep 19, 2024
1 parent 220ad73 commit c8e7c51
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,18 @@ jobs:
ls ./downloads/
- name: VirusTotal Scan
id: virustotal
uses: crazy-max/ghaction-virustotal@v4
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
request_rate: 4
files: ./downloads/*

- name: VirusTotal Report
uses: actions/github-script@v7
env:
ANALYSIS: ${{steps.virustotal.outputs.analysis}}
with:
script: |
const { ANALYSIS } = process.env;
console.log(ANALYSIS);

0 comments on commit c8e7c51

Please sign in to comment.