Skip to content

Commit

Permalink
Add GDAL jni path to LD_LIBRARY_PATH.
Browse files Browse the repository at this point in the history
  • Loading branch information
milos.colic committed Oct 20, 2023
1 parent 00063ce commit 624dba6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/actions/scala_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ runs:
- name: Test and build the scala JAR - skip tests is false
if: inputs.skip_tests == 'false'
shell: bash
run: |
LD_LIBRARY_PATH=/usr/lib/jni:$LD_LIBRARY_PATH
sudo mvn -q clean install
run: sudo mvn -q clean install
- name: Build the scala JAR - skip tests is true
if: inputs.skip_tests == 'true'
shell: bash
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@
<configuration>
<!-- Tests will be run with scalatest-maven-plugin instead -->
<skipTests>true</skipTests>
<argLine>-Djava.library.path=/usr/local/lib;/usr/java/packages/lib;/usr/lib64;/lib64;/lib;/usr/lib</argLine>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 624dba6

Please sign in to comment.