1
0
Fork 0

AV scan the Linux package prior to upload

This commit is contained in:
krcroft 2020-04-20 15:42:13 -07:00 committed by Patryk Obara
parent de3e030a4d
commit e6311d36b8

View file

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