From c8e7c51e68f9f52bc60d502647433824c7b37ad9 Mon Sep 17 00:00:00 2001 From: Kim T Date: Wed, 18 Sep 2024 20:58:56 -0700 Subject: [PATCH] Log virus report to console --- .github/workflows/validate.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 3ba154b..7d79993 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -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);