From 17a8d31634636a1ca042a9e871cdfedf9381a465 Mon Sep 17 00:00:00 2001 From: Sahara Yousuf Date: Mon, 29 Jan 2024 11:27:10 -0600 Subject: [PATCH] Set java.library.path to GITHUB_PATH --- .github/workflows/test-kotlin-samples.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-kotlin-samples.yml b/.github/workflows/test-kotlin-samples.yml index 4f970f5..ba3f2a6 100644 --- a/.github/workflows/test-kotlin-samples.yml +++ b/.github/workflows/test-kotlin-samples.yml @@ -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