Skip to content

Commit 28cad6a

Browse files
committed
test
1 parent 8823dd0 commit 28cad6a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/mavenCi.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,20 @@ jobs:
5959
steps:
6060
- name: Checkout
6161
uses: actions/checkout@v4
62+
- name: Set up JDK 17
63+
uses: actions/setup-java@v4
64+
with:
65+
java-version: '17'
66+
distribution: 'corretto'
67+
cache: maven
68+
- name: Build
69+
run: mvn -V -B clean package
6270
- name: Depcheck
6371
uses: dependency-check/Dependency-Check_Action@main
6472
id: Depcheck
73+
env:
74+
# actions/setup-java@v1 changes JAVA_HOME so it needs to be reset to match the depcheck image
75+
JAVA_HOME: /opt/jdk
6576
with:
6677
project: 'KeepTime'
6778
path: '.'

0 commit comments

Comments
 (0)