diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index ccd661c6..a3a2c0d0 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -58,3 +58,10 @@ jobs: \n * It is recommended to also clear your previous settings by deleting the FriishProduce folder in your user's local app data directory.\n\n Be sure to read [the wiki](https://catmanfan.github.io/friishproduce-wiki/) for instructions and further details." token: ${{ secrets.github_token }} # Required + + - name: VirusTotal Scan + uses: crazy-max/ghaction-virustotal@v4 + with: + vt_api_key: ${{ secrets.VT_API_KEY }} + update_release_body: true + files: .exe$ \ No newline at end of file diff --git a/.github/workflows/virustotal.yml b/.github/workflows/virustotal.yml index dc944b69..e47a3b9c 100644 --- a/.github/workflows/virustotal.yml +++ b/.github/workflows/virustotal.yml @@ -1,18 +1,19 @@ -name: released +name: virustotal on: - release: - types: [edited, published] + workflow_call: jobs: virustotal: runs-on: ubuntu-latest steps: - - - name: VirusTotal Scan - uses: crazy-max/ghaction-virustotal@v4 - with: - vt_api_key: ${{ secrets.VT_API_KEY }} - update_release_body: true - files: | - .exe$ \ No newline at end of file + - name: Checkout repo + - uses: actions/checkout@v4 + + - name: VirusTotal Scan + uses: crazy-max/ghaction-virustotal@v4 + with: + vt_api_key: ${{ secrets.VT_API_KEY }} + update_release_body: true + files: | + .exe$ \ No newline at end of file