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 4747771 commit 00063ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/scala_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ runs:
- name: Test and build the scala JAR - skip tests is false
if: inputs.skip_tests == 'false'
shell: bash
run: sudo mvn -q clean install -Djava.library.path="/usr/local/lib;/usr/java/packages/lib;/usr/lib64;/lib64;/lib;/usr/lib"
run: |
LD_LIBRARY_PATH=/usr/lib/jni:$LD_LIBRARY_PATH
sudo mvn -q clean install
- name: Build the scala JAR - skip tests is true
if: inputs.skip_tests == 'true'
shell: bash
Expand Down

0 comments on commit 00063ce

Please sign in to comment.