removed unnecessary installs
@@ -12,9 +12,6 @@ jobs:
export DEBIAN_FRONTEND=noninteractive && \
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections && \
sudo apt-get update && \
- sudo apt-get install -yq --no-install-recommends python3-wheel python3.9 python3.9-dev python3-setuptools dialog apt-utils tshark jq && \
- sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 && \
- sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 2 && \
python3 -m pip install --upgrade pip && \
pip3 install whispers && \
mkdir /home/runner/reports/ && \
@@ -26,7 +23,7 @@ jobs:
name: whispers-report
path: /home/runner/reports/whispers.json
- name: Fail if found
- if: ${{steps.scan.outputs.found-count}} != 0
+ if: steps.scan.outputs.found-count != 0
uses: actions/github-script@v3
with:
script: |
