Skip to content

Commit

Permalink
struggling to make this work
Browse files Browse the repository at this point in the history
  • Loading branch information
E1Bos committed Jun 23, 2024
1 parent 200a6f3 commit 2cb9394
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/virustotal-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,17 @@ jobs:
download-and-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Download Release Asset
uses: dsaltares/fetch-gh-release-asset@1.1.2
- uses: joutvhu/get-release@v1
with:
repo: "E1Bos/VALocker"
version: "tags/${{ github.event.release.tag_name }}"
file: "*.exe"
target: "./release-assets"
token: ${{ secrets.GITHUB_TOKEN }}
latest: true
# Tag name start with `v`
pattern: '^v.*'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: VirusTotal Scan
uses: crazy-max/ghaction-virustotal@v4
with:
vt_api_key: ${{ secrets.VIRUSTOTAL_API_KEY }}
files: |
./release-assets/*.exe
*.exe

0 comments on commit 2cb9394

Please sign in to comment.