Skip to content

Commit

Permalink
use separate cache for dependency-cache data
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Dec 13, 2023
1 parent 8ebb68b commit daade88
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/dependency-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ jobs:
distribution: 'temurin'
java-version: 11
cache: 'maven'
- name: Cache NVD DB
uses: actions/cache@v3
with:
path: ~/.m2/repository/org/owasp/dependency-check-data/
key: dependency-check-${{ github.run_id }}
restore-keys: |
dependency-check
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5
- name: Run org.owasp:dependency-check plugin
id: dependency-check
continue-on-error: true
Expand Down

0 comments on commit daade88

Please sign in to comment.