File tree 4 files changed +6
-18
lines changed
4 files changed +6
-18
lines changed Original file line number Diff line number Diff line change 6
6
runs-on : ubuntu-latest
7
7
steps :
8
8
- uses : actions/checkout@v2
9
- - uses : stCarolas/setup-maven@v4
10
- with :
11
- maven-version : 3.8.1
12
9
- uses : actions/setup-java@v1
13
10
with :
14
11
java-version : 8
@@ -22,11 +19,11 @@ jobs:
22
19
java : [8, 11]
23
20
steps :
24
21
- uses : actions/checkout@v2
25
- - uses : stCarolas/setup-maven@v4
26
- with :
27
- maven-version : 3.8.1
28
22
- uses : actions/setup-java@v1
29
23
with :
30
24
java-version : ${{matrix.java}}
25
+ - name : Compile Spanner
26
+ run : mvn clean install
31
27
- name : Compile samples
32
- run : mvn -Penable-samples compile
28
+ run : mvn compile
29
+ working-directory : samples
Original file line number Diff line number Diff line change @@ -103,7 +103,6 @@ samples)
103
103
104
104
pushd ${SAMPLES_DIR}
105
105
mvn -B \
106
- -Penable-samples \
107
106
-ntp \
108
107
-DtrimStackTrace=false \
109
108
-Dclirr.skip=true \
Original file line number Diff line number Diff line change 54
54
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
55
55
<github .global.server>github</github .global.server>
56
56
<site .installationModule>google-cloud-spanner-parent</site .installationModule>
57
- <google .cloud.shared-dependencies.version>2.4 .0</google .cloud.shared-dependencies.version>
57
+ <google .cloud.shared-dependencies.version>2.5 .0</google .cloud.shared-dependencies.version>
58
58
</properties >
59
59
60
60
<dependencyManagement >
224
224
</plugins >
225
225
</reporting >
226
226
227
- <profiles >
228
- <profile >
229
- <id >enable-samples</id >
230
- <modules >
231
- <module >samples</module >
232
- </modules >
233
- </profile >
234
- </profiles >
235
227
</project >
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Install [Maven](http://maven.apache.org/).
17
17
18
18
Build your project from the root directory (` java-spanner ` ):
19
19
20
- mvn clean package -DskipTests -Penable-samples
20
+ mvn clean package -DskipTests
21
21
22
22
Every subsequent command here should be run from a subdirectory (` cd samples/snippets ` ).
23
23
You can’t perform that action at this time.
0 commit comments