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 2828 - name : Build with Maven
2929 run : mvn -B -U verify --file pom.xml
3030
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+
3154 scan-with-lacework :
3255 name : Trigger LaceWork Scanning
3356 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 5656 docker push $DOCKER_CODEGEN_CLI_IMAGE_NAME:unstable
5757 else
5858 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