File tree Expand file tree Collapse file tree 1 file changed +9
-26
lines changed Expand file tree Collapse file tree 1 file changed +9
-26
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
12
- build-jdk11 :
13
- name : " Build JDK 11 "
12
+ build-gradle :
13
+ name : " Build"
14
14
runs-on : ubuntu-latest
15
- services :
16
- gitlab-instance :
17
- image : gitlab/gitlab-ce:12.9.2-ce.0
18
- env :
19
- GITLAB_OMNIBUS_CONFIG : gitlab_rails['initial_root_password']="password";gitlab_rails['lfs_enabled']=false;
20
- ports :
21
- - 8090:80
22
15
steps :
23
- - uses : actions/checkout@v2
16
+ - uses : actions/checkout@v4
24
17
with :
25
18
fetch-depth : 0
26
- - name : Set up JDK 11
27
- uses : actions/setup-java@v2
19
+ - name : Setup JDK 11
20
+ uses : actions/setup-java@v3
28
21
with :
29
- distribution : adopt-hotspot
22
+ distribution : temurin
30
23
java-version : 11
31
- - name : Get Date
32
- id : get-date
33
- run : |
34
- echo "date=$(/bin/date -u "+%Y-%m")" >> $GITHUB_OUTPUT
35
- shell : bash
36
- - name : Cache Maven Repository
37
- id : cache-maven
38
- uses : actions/cache@v2
39
- with :
40
- path : ~/.m2/repository
41
- # refresh cache every month to avoid unlimited growth
42
- key : gitlab4jmaven-${{ steps.get-date.outputs.date }}
24
+ - name : Setup Gradle
25
+ uses : gradle/actions/setup-gradle@v3
43
26
- name : GitLab4j verify
44
27
id : gitlab4j-verify
45
28
run : |
46
- ./mvnw verify -B -V
29
+ ./gradlew build --console=PLAIN --stacktrace
You can’t perform that action at this time.
0 commit comments