Skip to content

Commit

Permalink
Export pybind environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpaul authored Mar 4, 2024
1 parent 08adcf0 commit 25d609b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,12 @@ runs:
pybind11_DIR="pybind11-dir-not-found"
if [ -e "$(command -v pybind11-config)" ]; then
pybind11_DIR="$(pybind11-config --cmakedir)"
echo "pybind11_DIR=$pybind11_DIR" | tee -a $GITHUB_ENV
elif [ -e "$(command -v pybind11-config-${{ inputs.python_version }})" ]; then
pybind11_DIR="$(pybind11-config-${{ inputs.python_version }} --cmakedir)"
echo "pybind11_DIR=$pybind11_DIR" | tee -a $GITHUB_ENV
fi
- name: Setup cache for Qt files
if: inputs.sofa_scope != 'minimal'
Expand Down

0 comments on commit 25d609b

Please sign in to comment.