File tree Expand file tree Collapse file tree 8 files changed +8
-408
lines changed
Expand file tree Collapse file tree 8 files changed +8
-408
lines changed Original file line number Diff line number Diff line change 3636
3737 - name : Set Python DLL path (non Windows)
3838 run : |
39- python -m pythonnet. find_libpython --export >> $GITHUB_ENV
39+ echo PYTHONNET_PYDLL=$( python -m find_libpython) >> $GITHUB_ENV
4040
4141 - name : Embedding tests
4242 run : dotnet test --logger "console;verbosity=detailed" src/embed_tests/
Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ jobs:
5757 - name : Set Python DLL path (non Windows)
5858 if : ${{ matrix.os != 'windows' }}
5959 run : |
60- python -m pythonnet. find_libpython --export >> $GITHUB_ENV
60+ echo PYTHONNET_PYDLL=$( python -m find_libpython) >> $GITHUB_ENV
6161
6262 - name : Set Python DLL path (Windows)
6363 if : ${{ matrix.os == 'windows' }}
6464 run : |
65- python -m pythonnet.find_libpython --export | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
65+ Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append -InputObject "PYTHONNET_PYDLL=$(python -m find_libpython)"
6666
6767 - name : Embedding tests
6868 run : dotnet test --runtime any-${{ matrix.platform }} --logger "console;verbosity=detailed" src/embed_tests/
Original file line number Diff line number Diff line change 4646 - name : Set Python DLL path (non Windows)
4747 if : ${{ matrix.os != 'windows' }}
4848 run : |
49- python -m pythonnet. find_libpython --export >> $GITHUB_ENV
49+ echo PYTHONNET_PYDLL=$( python -m find_libpython) >> $GITHUB_ENV
5050
5151 - name : Python Tests
5252 run : pytest
You can’t perform that action at this time.
0 commit comments