Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Commit

Permalink
Create virustotal.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
phasephasephase authored May 13, 2022
1 parent ad90b5f commit f1bb7eb
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/virustotal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Upload latest release to VirusTotal

on:
release:
types: [published]

workflow_dispatch:

jobs:
funny:
runs-on: ubuntu-latest

steps:
- name: Download latest launcher
uses: i3h/[email protected]
with:
owner: notcarlton
repo: OnixLauncher
tag: latest
file: OnixLauncher.exe

- name: Upload to VirusTotal
uses: wei/[email protected]
with:
args: --request POST --url https://www.virustotal.com/api/v3/files --header Content-Type:\ multipart/form-data --header x-apikey:\ ${{ secrets.VIRUSTOTAL_API_TOKEN }} --form [email protected]

0 comments on commit f1bb7eb

Please sign in to comment.