virus total workflow: revert previous changes

This commit is contained in:
Yuriy Liskov
2025-12-17 06:42:39 +02:00
parent 98ffe409a5
commit ff8de00a26

View File

@@ -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..."