AV scan the Linux package prior to upload
This commit is contained in:
parent
de3e030a4d
commit
e6311d36b8
1 changed files with 7 additions and 0 deletions
7
.github/workflows/linux.yml
vendored
7
.github/workflows/linux.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue