Skip to content

Commit 5d9f70c

Browse files
committed
DEBUG workflow
Signed-off-by: tdruez <[email protected]>
1 parent 7d5284b commit 5d9f70c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/sca-integration-vuls.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
curl -sL https://github.com/future-architect/vuls/releases/download/v${{ env.VULS_VERSION }}/vuls_${{ env.VULS_VERSION }}_linux_amd64.tar.gz \
2424
| tar -xz
2525
sudo mv vuls /usr/local/bin/vuls
26+
mkdir -p $PWD/vuls/results
2627
2728
- name: Create Vuls config.toml
2829
run: |
29-
mkdir -p vuls
3030
cat > vuls/config.toml <<EOF
3131
[servers]
3232
[servers.localhost]
@@ -38,13 +38,13 @@ jobs:
3838
run: vuls configtest -config ./vuls/config.toml
3939

4040
- name: Run Vuls scan
41-
run: vuls scan -config ./vuls/config.toml
41+
run: vuls scan -config ./vuls/config.toml -results-dir ./vuls/results
4242

4343
- name: Run Vuls report as CycloneDX
44-
run: vuls report -config ./vuls/config.toml -format-cyclonedx-json -debug -results-dir=/home/runner/work/scancode.io/scancode.io/results
44+
run: vuls report -config ./vuls/config.toml -results-dir ./vuls/results -format-cyclonedx-json
4545

4646
- name: Upload SBOM artifact
4747
uses: actions/upload-artifact@v4
4848
with:
4949
name: results
50-
path: results
50+
path: vuls/results

0 commit comments

Comments
 (0)