Skip to content

Commit b413efe

Browse files
committed
[CI] Improve workflows
1 parent 257ccaa commit b413efe

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/owasp-dependency-check.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ jobs:
3939
with:
4040
maven-version: ${{ env.MAVEN_VERSION }}
4141

42+
- uses: actions/cache@v5
43+
with:
44+
path: ~/.m2/repository/org/owasp/dependency-check-data
45+
key: owasp-db-maven
46+
restore-keys: |
47+
owasp-db-maven
48+
4249
- name: 'OWASP Dependency Check'
4350
continue-on-error: true
4451
env:

.github/workflows/qa.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,6 @@ jobs:
5454
token: ${{ secrets.GITHUB_TOKEN }}
5555

5656
- name: 'Cleanup snapshots'
57+
if: always()
5758
run: |
5859
find ~/.m2/repository -name "*SNAPSHOT*" -type d | xargs rm -rf {}

0 commit comments

Comments
 (0)