mirror of
https://github.com/yuliskov/SmartTube.git
synced 2026-01-07 06:20:35 -06:00
virus total workflow: revert previous changes
This commit is contained in:
9
.github/workflows/virustotal_scan.yml
vendored
9
.github/workflows/virustotal_scan.yml
vendored
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user