diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2021ebeef..8a6f0ad70 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -23,5 +23,6 @@ jobs: - uses: actions/upload-artifact@v5.0.0 with: path: ./smarttubetv/build/outputs/apk/ststable/debug/*.apk + retention-days: 1 diff --git a/.github/workflows/virustotal_scan.yml b/.github/workflows/virustotal_scan.yml index 34183b1b5..868b59f48 100644 --- a/.github/workflows/virustotal_scan.yml +++ b/.github/workflows/virustotal_scan.yml @@ -1,4 +1,4 @@ -name: VirusTotal Quick Scan +name: VirusTotal Scan on: release: @@ -75,11 +75,11 @@ jobs: apk_url="https://github.com/${{ github.repository }}/releases/download/$TAG_NAME/$filename" if [ "$status" != "completed" ]; then - echo " - [![VT](https://badges.cssnr.com/vt/id/$sha256?end=red&n=1)](https://www.virustotal.com/gui/file/$sha256) [$filename]($apk_url) — BAD ❌ (analysis incomplete)" >> vt_report.txt + echo " - [![VT](https://badges.cssnr.com/vt/id/$sha256?end=red&n=1) $filename](https://www.virustotal.com/gui/file/$sha256) — BAD ❌ (analysis incomplete)" >> vt_report.txt elif [ "$malicious" -gt 0 ]; then - echo " - [![VT](https://badges.cssnr.com/vt/id/$sha256?end=red&n=1)](https://www.virustotal.com/gui/file/$sha256) [$filename]($apk_url) — BAD ❌" >> vt_report.txt + echo " - [![VT](https://badges.cssnr.com/vt/id/$sha256?end=red&n=1) $filename](https://www.virustotal.com/gui/file/$sha256) — BAD ❌" >> vt_report.txt else - echo " - [![VT](https://badges.cssnr.com/vt/id/$sha256?end=red&n=1)](https://www.virustotal.com/gui/file/$sha256) [$filename]($apk_url)" >> vt_report.txt + echo " - [![VT](https://badges.cssnr.com/vt/id/$sha256?end=red&n=1) $filename](https://www.virustotal.com/gui/file/$sha256)" >> vt_report.txt fi done diff --git a/scripts/delete_all_runs.bat b/scripts/delete_all_runs.bat deleted file mode 100644 index a1a561c52..000000000 --- a/scripts/delete_all_runs.bat +++ /dev/null @@ -1,15 +0,0 @@ -@echo off -echo Running %~n0... -echo This script deletes all workflow runs from the current repo. -echo WARNING: Deleted runs cannot be recovered. - -REM List all workflow runs (up to 1000) -for /F "tokens=*" %%A in ('gh run list --limit 1000') do ( - REM Skip the header line - if NOT "%%A"=="ID" ( - echo Deleting workflow run %%A - gh run delete %%A --confirm - ) -) - -pause