From e6311d36b8b5dc1e16a663f702d46b0509f4bdf9 Mon Sep 17 00:00:00 2001 From: krcroft Date: Mon, 20 Apr 2020 15:42:13 -0700 Subject: [PATCH] AV scan the Linux package prior to upload --- .github/workflows/linux.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 937eda93..768cbf85 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -142,6 +142,13 @@ jobs: # Create tarball tar -cJf "dosbox-staging-linux-$VERSION.tar.xz" "dosbox-staging-linux-$VERSION" + - name: AV scan + run: | + set -x + sudo apt-get install clamav > /dev/null + sudo systemctl stop clamav-freshclam + sudo freshclam --quiet && sudo freshclam + clamscan --heuristic-scan-precedence=yes --recursive --infected . - name: Upload tarball uses: actions/upload-artifact@master # GitHub automatically zips the artifacts (there's no way to create