mirror of
https://github.com/Anon-Planet/thgtoa.git
synced 2025-03-30 09:58:18 -04:00
Update vt-scan.yml
This commit is contained in:
parent
7ad1772b59
commit
518ca98896
10
.github/workflows/vt-scan.yml
vendored
10
.github/workflows/vt-scan.yml
vendored
@ -1,25 +1,21 @@
|
|||||||
---
|
---
|
||||||
name: Release: Scan with VT
|
name: release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release: [published]
|
release:
|
||||||
|
- published
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 📦 Checkout
|
- name: 📦 Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: 📦 Set up Go
|
- name: 📦 Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
|
|
||||||
- name: 📦 Scan PDF files using VT
|
- name: 📦 Scan PDF files using VT
|
||||||
uses: crazy-max/ghaction-virustotal@v3
|
uses: crazy-max/ghaction-virustotal@v3
|
||||||
with:
|
with:
|
||||||
vt_api_key: ${{ secrets.VT_API_KEY }}
|
vt_api_key: ${{ secrets.VT_API_KEY }}
|
||||||
files: |
|
files: |
|
||||||
export/*.pdf
|
export/*.pdf
|
||||||
|
|
||||||
- name: Calculate SHA-256 Hashes
|
- name: Calculate SHA-256 Hashes
|
||||||
run: find . -type f -print0 | xargs -0 sha2
|
run: find . -type f -print0 | xargs -0 sha2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user