File tree Expand file tree Collapse file tree 1 file changed +14
-36
lines changed
Expand file tree Collapse file tree 1 file changed +14
-36
lines changed Original file line number Diff line number Diff line change 1- # Copyright 2022 Google LLC
2- #
3- # Licensed under the Apache License, Version 2.0 (the "License");
4- # you may not use this file except in compliance with the License.
5- # You may obtain a copy of the License at
6- #
7- # http://www.apache.org/licenses/LICENSE-2.0
8- #
9- # Unless required by applicable law or agreed to in writing, software
10- # distributed under the License is distributed on an "AS IS" BASIS,
11- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12- # See the License for the specific language governing permissions and
13- # limitations under the License.
14- # Github action job to test core java library features on
15- # downstream client libraries before they are released.
1+ name : Maven Install
2+
163on :
174 push :
18- branches :
19- - main
5+ branches : [ main ]
206 pull_request :
21- name : ci
7+ branches : [ main ]
8+
229jobs :
23- units :
10+ build :
11+
2412 runs-on : ubuntu-latest
25- strategy :
26- fail-fast : false
27- matrix :
28- java : [8]
13+
2914 steps :
30- - name : Get current week within the year
31- id : date
32- run : echo "::set-output name=week_of_year::$(date +'%W' --utc)"
3315 - uses : actions/checkout@v4
34- - uses : actions/setup-java@v4
16+ - name : Set up JDK 11
17+ uses : actions/setup-java@v4
3518 with :
36- distribution : temurin
37- java-version : 11
19+ java-version : ' 11 '
20+ distribution : ' temurin '
3821 cache : maven
39- - run : java -version
40- - name : Install Maven modules to local Maven repository
41- run : |
42- mvn install -B -ntp -T 1C -DskipTests -Dclirr.skip -Dcheckstyle.skip
43- - run : java -version
44- - run : mvn -B -ntp enforcer:enforce@enforce -T 1C
45-
22+ - name : Build with Maven
23+ run : mvn install -DskipTests
You can’t perform that action at this time.
0 commit comments