File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515jobs :
1616 owasp-dependency-check :
1717 name : OWASP Dependency Check
18- if : ${{ inputs.enable }}
1918 runs-on : ubuntu-latest
2019 timeout-minutes : 100
2120 steps :
4847 shell : bash
4948
5049 - name : Restore Dependency-Check Cache
50+ if : inputs.enable
5151 uses : actions/cache/restore@v5
5252 with :
5353 path : ${{ github.workspace }}/.dependency-check
5656 ${{ runner.os }}-dependency-check-
5757
5858 - name : Run OWASP Dependency Check
59+ if : inputs.enable
5960 run : |
6061 mvn org.owasp:dependency-check-maven:check \
6162 -DdataDirectory="${{ github.workspace }}/.dependency-check" \
6768
6869 - name : Save Dependency-Check Cache
6970 uses : actions/cache/save@v5
70- if : always()
71+ if : inputs.enable
7172 with :
7273 path : ${{ github.workspace }}/.dependency-check
7374 key : ${{ runner.os }}-dependency-check-${{ steps.get-cache-date.outputs.date }}
You can’t perform that action at this time.
0 commit comments