Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Commit

Permalink
Add released workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Sep 13, 2020
1 parent b684c31 commit 29c3489
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,3 @@ jobs:
name: ${{ steps.prepare.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
name: VirusTotal Scan
uses: crazy-max/ghaction-virustotal@v2.2.0
if: success() && startsWith(github.ref, 'refs/tags/')
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
files: |
./bin/IconsRefresh.exe
30 changes: 30 additions & 0 deletions .github/workflows/released.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: released

on:
release:
types: [published]

jobs:
virustotal:
runs-on: ubuntu-latest
steps:
-
name: VirusTotal Monitor Scan
uses: crazy-max/ghaction-virustotal@v2.2.0
with:
vt_api_key: ${{ secrets.VT_MONITOR_API_KEY }}
vt_monitor: true
monitor_path: /IconsRefresh/${{ github.event.release.tag_name }}
update_release_body: false
github_token: ${{ secrets.GITHUB_TOKEN }}
files: |
IconsRefresh.exe
-
name: VirusTotal Scan
uses: crazy-max/ghaction-virustotal@v2.2.0
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
update_release_body: true
github_token: ${{ secrets.GITHUB_TOKEN }}
files: |
IconsRefresh.exe

0 comments on commit 29c3489

Please sign in to comment.