Skip to content

Commit

Permalink
Add python source build
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicField committed Oct 15, 2024
1 parent 9b48c54 commit 7c6906d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/build-python-from-source/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,10 @@ runs:
if [ "${{ runner.os }}" != "Windows" ]; then
echo "LOCAL_PYTHON=/usr/local/python-${{ inputs.python-version }}/bin/python3" >> $GITHUB_ENV
else
# Find the Python executable and set LOCAL_PYTHON
cwd=$(pwd)
echo "LOCAL_PYTHON=${cwd}/Python/${{ inputs.python-version }}/python3*_d.exe" >> $GITHUB_ENV
LOCAL_PYTHON=$(find "${cwd}/Python/${{ inputs.python-version }}" -name "python3*_d.exe")
echo "LOCAL_PYTHON=${LOCAL_PYTHON}" >> $GITHUB_ENV
fi
# Ensure python is in the path and log out the version to help with debug.
Expand Down

0 comments on commit 7c6906d

Please sign in to comment.