File tree Expand file tree Collapse file tree 2 files changed +46
-1
lines changed Expand file tree Collapse file tree 2 files changed +46
-1
lines changed Original file line number Diff line number Diff line change 28
28
- name : Build with Maven
29
29
run : mvn -B -U verify --file pom.xml
30
30
31
+ build-java8 :
32
+
33
+ runs-on : ubuntu-latest
34
+ strategy :
35
+ matrix :
36
+ java : [ 8 ]
37
+
38
+ steps :
39
+ - uses : actions/checkout@v2
40
+ - name : Set up Java
41
+ uses : actions/setup-java@v1
42
+ with :
43
+ java-version : ${{ matrix.java }}
44
+ - name : Cache local Maven repository
45
+ uses : actions/cache@v2
46
+ with :
47
+ path : ~/.m2/repository
48
+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
49
+ restore-keys : |
50
+ ${{ runner.os }}-maven-
51
+ - name : Build with Maven
52
+ run : mvn -B -U clean verify -DskipTests -Dmaven.test.skip=true -Dmaven.site.skip=true -Dmaven.javadoc.skip=true -Psamples-java8 --file pom.xml
53
+
31
54
scan-with-lacework :
32
55
name : Trigger LaceWork Scanning
33
56
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 56
56
docker push $DOCKER_CODEGEN_CLI_IMAGE_NAME:unstable
57
57
else
58
58
echo "not deploying release nor building and pushing release docker image: " ${MY_POM_VERSION}
59
- fi
59
+ fi
60
+ build-java8 :
61
+
62
+ runs-on : ubuntu-latest
63
+ strategy :
64
+ matrix :
65
+ java : [ 8 ]
66
+
67
+ steps :
68
+ - uses : actions/checkout@v2
69
+ - name : Set up Java
70
+ uses : actions/setup-java@v1
71
+ with :
72
+ java-version : ${{ matrix.java }}
73
+ - name : Cache local Maven repository
74
+ uses : actions/cache@v2
75
+ with :
76
+ path : ~/.m2/repository
77
+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
78
+ restore-keys : |
79
+ ${{ runner.os }}-maven-
80
+ - name : Build with Maven
81
+ run : mvn -B -U clean verify -DskipTests -Dmaven.test.skip=true -Dmaven.site.skip=true -Dmaven.javadoc.skip=true -Psamples-java8 --file pom.xml
You can’t perform that action at this time.
0 commit comments