File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ branding:
55 color : ' blue'
66inputs :
77 spotbugs-version :
8- description : ' SpotBugs version to use.'
8+ description : ' SpotBugs version to use. Default: latest. '
99 default : ' latest'
1010 required : false
1111 packages :
@@ -49,6 +49,10 @@ inputs:
4949 The basePath is used as a prefix in the sarif file to help GitHub find the
5050 right file of the issue. It is tipically something like 'src/main/java'.
5151 required : false
52+ progress :
53+ description : >
54+ Set it to true to enable showing progress.
55+ required : false
5256runs :
5357 using : " composite"
5458 steps :
6367 ARGUMENTS : ${{ inputs.arguments }}
6468 TARGET : ${{ inputs.target }}
6569 DEPENDENCIES_PATH : ${{ inputs.dependenciesPath }}
66- BASE_PATH : ${{ inputs.basePath }}
70+ BASE_PATH : ${{ inputs.basePath }}
71+ PROGRESS : ${{ inputs.progress }}
Original file line number Diff line number Diff line change @@ -73,6 +73,12 @@ if [ "$DEPENDENCIES_PATH" != "" ]; then
7373 echo " Scanning jars with: ${DEP_CMD} "
7474 eval ${DEP_CMD}
7575 CMD=" $CMD -auxclasspathFromFile /tmp/jardependencies.txt"
76+ echo " Found dependencies: "
77+ cat /tmp/jardependencies.txt
78+ fi
79+
80+ if [ " $PROGRESS " == " true" ]; then
81+ CMD=" $CMD -progress"
7682fi
7783
7884if [ " $BASE_PATH " != " " ]; then
You can’t perform that action at this time.
0 commit comments