Skip to content

Commit f5dd1e9

Browse files
authored
Fix JAVA_HOME issue on Dependency-Check_Action (#2321)
1 parent afb7854 commit f5dd1e9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/cve-scanning.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
- name: Run OWASP Dependency-Check on Maven subprojects
3838
if: ${{ env.OSS_INDEX_USERNAME != '' && env.OSS_INDEX_API_KEY != '' }}
3939
uses: dependency-check/Dependency-Check_Action@1e54355a8b4c8abaa8cc7d0b70aa655a3bb15a6c
40+
env:
41+
JAVA_HOME: "" # Clears the host JAVA_HOME so the container uses its own
4042
id: Depcheck
4143
with:
4244
project: "vuu"

0 commit comments

Comments
 (0)