File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -81,10 +81,16 @@ jobs:
8181 ${{ steps.sofa.outputs.python_exe }} -m pip install mypy
8282
8383 #Setup env
84- echo "PYTHONPATH=$WORKSPACE_ARTIFACT_PATH/lib/python3/site-packages" | tee -a $GITHUB_ENV
85-
84+ OLD_PYTHONPATH=$PYTHONPATH
85+ echo "PYTHONPATH=$WORKSPACE_INSTALL_PATH/lib/python3/site-packages" | tee -a $GITHUB_ENV
86+
87+
8688 #For now use pybind11. This might be parametrized as an input of this action
87- ${{ steps.sofa.outputs.python_exe }} ${{ env.WORKSPACE_SRC_PATH }}/scripts/generate_stubs.py -d /home/paul/dev/build/sofa/lib/python3/site-packages -m Sofa --use_pybind11
89+ ${{ steps.sofa.outputs.python_exe }} ${{ env.WORKSPACE_SRC_PATH }}/scripts/generate_stubs.py -d $WORKSPACE_INSTALL_PATH/lib/python3/site-packages -m Sofa --use_pybind11
90+
91+ #Go back to previous env
92+ echo "PYTHONPATH=$OLD_PYTHONPATH" | tee -a $GITHUB_ENV
93+
8894
8995
9096 - name : Set env vars for artifacts
You can’t perform that action at this time.
0 commit comments