This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad90b5f
commit f1bb7eb
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
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
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] |