VirusTotal Scan on Release #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: VirusTotal Scan on Release | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
download-and-scan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: joutvhu/get-release@v1 | |
with: | |
latest: true | |
# Tag name start with `v` | |
pattern: '^v.*' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: VirusTotal Scan | |
uses: crazy-max/ghaction-virustotal@v4 | |
with: | |
vt_api_key: ${{ secrets.VIRUSTOTAL_API_KEY }} | |
files: | | |
*.exe |