From ff8de00a26d3f49d9d4aab56415f3f3c9cf2fe58 Mon Sep 17 00:00:00 2001 From: Yuriy Liskov Date: Wed, 17 Dec 2025 06:42:39 +0200 Subject: [PATCH] virus total workflow: revert previous changes --- .github/workflows/virustotal_scan.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/virustotal_scan.yml b/.github/workflows/virustotal_scan.yml index 0315b8dbd..34183b1b5 100644 --- a/.github/workflows/virustotal_scan.yml +++ b/.github/workflows/virustotal_scan.yml @@ -38,7 +38,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | mkdir -p release_assets - gh release download $TAG_NAME --dir release_assets --pattern "*.apk" || true + gh release download $TAG_NAME --dir release_assets --pattern "*.apk" ls -l release_assets - name: Install VirusTotal CLI @@ -52,14 +52,9 @@ jobs: VT_API_KEY: ${{ secrets.VIRUS_TOTAL_API_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - first=true + echo -e "$REPORT_MARKER\n🛡️ VirusTotal Scan Results:" > vt_report.txt for apk in release_assets/*.apk; do - if $first; then - echo -e "$REPORT_MARKER\n🛡️ VirusTotal Scan Results:" > vt_report.txt - first=false - fi - filename=$(basename "$apk") sha256=$(sha256sum "$apk" | head -c 64) echo "Scanning $filename..."