From 88ceef0a2bb85edfa073f693459b837bb6f5d6c3 Mon Sep 17 00:00:00 2001 From: Rongmario Date: Sat, 10 Feb 2024 02:20:54 +0000 Subject: [PATCH] Use % env vars instead --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 510aa23..c6d08de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,7 +63,7 @@ jobs: arch: ${{ matrix.arch[0] }} - name: Compile and Link for ${{ matrix.arch[1] }} - run: cl.exe -LD -I$JAVA_HOME\include -I$JAVA_HOME\include\win32 ${{ env.PATH_TO_CODE_WIN }}.c -link -out:output\${{ env.LIB_NAME }}_${{ matrix.arch[1] }}.dll + run: cl.exe -LD -I%JAVA_HOME%\include -I%JAVA_HOME%\include\win32 ${{ env.PATH_TO_CODE_WIN }}.c -link -out:output\${{ env.LIB_NAME }}_${{ matrix.arch[1] }}.dll - name: Upload Natives uses: actions/upload-artifact@v3