File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ inputs:
1919 upload_sarif :
2020 description : ' Whether to upload the SARIF file to GitHub Code Scanning'
2121 required : false
22+ type : boolean
2223 default : ' true'
2324 java_distribution :
2425 description : ' The Java distribution to use'
@@ -28,6 +29,11 @@ inputs:
2829 description : ' The Java version to use'
2930 required : false
3031 default : ' 11'
32+ no_cache :
33+ description : ' Do not use cached versions of the Spotbugs and FindSecBugs tools'
34+ required : false
35+ type : boolean
36+ default : ' false'
3137
3238runs :
3339 using : " composite"
5056 path : findsecbugs-plugin-${{ inputs.findsecbugs_version }}.jar
5157 key : ${{ runner.os }}-findsecbugs-${{ inputs.findsecbugs_version }}
5258 - name : Get SpotBugs
53- if : steps.cache-spotbugs.outputs.cache-hit != 'true'
59+ if : inputs.no_cache == 'false' && steps.cache-spotbugs.outputs.cache-hit != 'true'
5460 env :
5561 INPUT_SPOTBUGS_VERSION : ${{ inputs.spotbugs_version }}
5662 run : |
6369 echo "Got spotbugs-${INPUT_SPOTBUGS_VERSION}.tgz"
6470 shell : bash
6571 - name : Get FindSecBugs
66- if : steps.cache-findsecbugs.outputs.cache-hit != 'true'
72+ if : inputs.no_cache == 'false' steps.cache-findsecbugs.outputs.cache-hit != 'true'
6773 env :
6874 INPUT_FINDSECBUGS_VERSION : ${{ inputs.findsecbugs_version }}
6975 run : |
You can’t perform that action at this time.
0 commit comments