Skip to content

Commit

Permalink
Set java.library.path to GITHUB_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
datalogics-saharay committed Jan 29, 2024
1 parent 29a3017 commit 17a8d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-kotlin-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
if [ "$RUNNER_OS" == "Windows" ]; then
echo "${{ github.workspace }}\${{ matrix.dir }}\target\lib" >> $GITHUB_PATH
echo $GITHUB_PATH
java -Djava.library.path=%PATH% -Dfile.encoding=UTF-8 -jar target/${{ matrix.dir }}-1.0-SNAPSHOT-jar-with-dependencies.jar
java -Djava.library.path=$GITHUB_PATH -Dfile.encoding=UTF-8 -jar target/${{ matrix.dir }}-1.0-SNAPSHOT-jar-with-dependencies.jar
elif [ "$RUNNER_OS" == "Linux" ]; then
java -Djava.library.path=./target/lib -Dfile.encoding=UTF-8 -jar target/${{ matrix.dir }}-1.0-SNAPSHOT-jar-with-dependencies.jar
fi

0 comments on commit 17a8d31

Please sign in to comment.