From 440a04db7a035f12d470350a8b48c76c69a43c26 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Mon, 15 Aug 2022 18:36:31 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Added=20VT=20Scan=20to=20build?= =?UTF-8?q?=20apk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-apk.yml | 11 +++++++++++ .github/workflows/virus-total-scan.yml | 2 -- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index 94d98ce..1a98944 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -49,3 +49,14 @@ jobs: artifacts: "apks/*-output.apk" token: ${{ secrets.GH_TOKEN }} tag: Build-${{ steps.get-date.outputs.date }} + artifactErrorsFailBuild: true + generateReleaseNotes: true + + - name: VirusTotal Scan + uses: crazy-max/ghaction-virustotal@v3 + with: + vt_api_key: ${{ secrets.VT_API_KEY }} + update_release_body: true + github_token: ${{ secrets.GH_TOKEN }} + files: | + .apk$ diff --git a/.github/workflows/virus-total-scan.yml b/.github/workflows/virus-total-scan.yml index 5649640..0d69395 100644 --- a/.github/workflows/virus-total-scan.yml +++ b/.github/workflows/virus-total-scan.yml @@ -1,8 +1,6 @@ name: VirusTotal Scan on: - release: - types: [published] workflow_dispatch: # to trigger manually jobs: