Skip to content

Virustotal

Virustotal #123

Workflow file for this run

name: Virustotal
on:
release:
types: [published]
jobs:
virustotal:
if: ${{ !contains(github.ref_name, 'rc') && !contains(github.ref_name, 'b') && !contains(github.ref_name, 'a') }}
runs-on: ubuntu-latest
steps:
- name: Remove v from ${{ github.ref_name }}
id: remove_v
run: |
v_version=${{ github.ref_name }}
echo "current_version=${v_version:1}" >> $GITHUB_ENV
- name: VirusTotal Scan
uses: crazy-max/ghaction-virustotal@v3
with:
vt_api_key: ${{ secrets.VIRUSTOTAL_API_KEY }}
github_token: ${{ secrets.ACTIONS_TOKEN }}
update_release_body: false
files: |
Subsearch-${{ env.current_version }}-win64.msi