File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 47
47
- name : run java snippets
48
48
run : |
49
49
# shellcheck disable=SC2034
50
- DYLD_LIBRARY_PATH="${HOME}/senzing/er/lib:${HOME}/senzing/er/lib/macos"
50
+ SENZING_DIR="${HOME}/senzing/er"
51
+ export DYLD_LIBRARY_PATH="${SENZING_DIR}/lib:${SENZING_DIR}/lib/macos"
51
52
cd "${GITHUB_WORKSPACE}"/java
52
53
java -jar target/sz-sdk-snippets.jar all
Original file line number Diff line number Diff line change 20
20
<artifactId >sz-sdk</artifactId >
21
21
<version >4.0.0-beta.2.0</version >
22
22
<scope >system</scope >
23
- <systemPath >/Users/runner/senzing/er /sdk/java/sz-sdk.jar</systemPath >
23
+ <systemPath >${SENZING_DIR} /sdk/java/sz-sdk.jar</systemPath >
24
24
</dependency >
25
25
<dependency >
26
26
<groupId >org.glassfish</groupId >
39
39
<maven .compiler.target>17</maven .compiler.target>
40
40
<project .build.includeEncoding>UTF-8</project .build.includeEncoding>
41
41
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
42
+ <senzing .install.dir>${SENZING_DIR} </senzing .install.dir>
42
43
</properties >
43
44
<build >
44
45
<sourceDirectory >snippets</sourceDirectory >
88
89
<configuration >
89
90
<createDependencyReducedPom >false</createDependencyReducedPom >
90
91
<extraJars >
91
- <include >/Users/runner/senzing/er /sdk/java/sz-sdk.jar</include >
92
+ <include >${SENZING_DIR} /sdk/java/sz-sdk.jar</include >
92
93
</extraJars >
93
94
<filters >
94
95
<filter >
You can’t perform that action at this time.
0 commit comments