From 469ef731a757c173100bc3c33f4431cccd379e9b Mon Sep 17 00:00:00 2001 From: masesdevelopers <94312179+masesdevelopers@users.noreply.github.com> Date: Fri, 1 Dec 2023 01:22:29 +0100 Subject: [PATCH] add env --- .github/workflows/testbranch.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testbranch.yaml b/.github/workflows/testbranch.yaml index 46eada6acdd..6d73dd448ec 100644 --- a/.github/workflows/testbranch.yaml +++ b/.github/workflows/testbranch.yaml @@ -90,20 +90,20 @@ jobs: - name: Build Java test source file .NET Core 6.0 run: javac -cp ./bin/net6.0/JCOReflector.jar ./tests/jvm/java/src/hierarchy/*.java ./tests/jvm/java/src/mscorlib/*.java ./tests/jvm/java/src/nettest/*.java ./tests/jvm/java/src/refout/*.java env: - JAVA_HOME: ${{ JAVA_HOME_11_X64 }} + JAVA_HOME: ${{ env.JAVA_HOME_11_X64 }} - name: Export environment variables run: set shell: cmd env: - JAVA_HOME: ${{ JAVA_HOME_11_X64 }} + JAVA_HOME: ${{ env.JAVA_HOME_11_X64 }} JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0 JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }} - run: java -cp "./bin/net6.0/JCOReflector.jar;./tests/jvm/java/src/" mscorlib.HelloLock --CoreCLRApp:Microsoft.NET6.App --LicensePath:${{ secrets.JCOBRIDGE_ONLINE }} continue-on-error: true env: - JAVA_HOME: ${{ JAVA_HOME_11_X64 }} + JAVA_HOME: ${{ env.JAVA_HOME_11_X64 }} JCOBRIDGE_SCOPEDON: JCOReflector|1.0.0