Skip to content

Commit

Permalink
Try setting Windows system path differently
Browse files Browse the repository at this point in the history
  • Loading branch information
datalogics-saharay committed Jan 29, 2024
1 parent db554f6 commit 29a3017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-kotlin-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
working-directory: ${{ matrix.dir }}
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
set PATH=%PATH%;${{ github.workspace }}/${{ matrix.dir }}/target/lib
echo %PATH%
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
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
Expand Down

0 comments on commit 29a3017

Please sign in to comment.