Update vt-scan.yml

This commit is contained in:
Than Harrison 2023-06-10 21:44:54 +00:00 committed by GitHub
parent 7ad1772b59
commit 518ca98896
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,25 +1,21 @@
---
name: Release: Scan with VT
name: release
on:
release: [published]
release:
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 📦 Checkout
uses: actions/checkout@v3
- name: 📦 Set up Go
uses: actions/setup-go@v3
- name: 📦 Scan PDF files using VT
uses: crazy-max/ghaction-virustotal@v3
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
files: |
export/*.pdf
- name: Calculate SHA-256 Hashes
run: find . -type f -print0 | xargs -0 sha2