Skip to content

Commit 00adb00

Browse files
Fix: Restore JAVA_HOME env var for DepCheck action compatibility
1 parent 944a398 commit 00adb00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/scan-cve.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
- name: Depcheck
3838
uses: dependency-check/[email protected]
3939
id: Depcheck
40-
# Environment variables are inferred by the action or setup-java
40+
env:
41+
JAVA_HOME: /opt/jdk
4142

4243
with:
4344
project: ${{github.repository}}

0 commit comments

Comments
 (0)