Skip to content

Commit

Permalink
Attempt #2 to get installed python on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
luciansmith committed Jun 24, 2024
1 parent af04310 commit b2e8779
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,13 @@ jobs:
- name: Save Python executable for Windows
if: matrix.platform.build_python == 'ON' && matrix.platform.os_type == 'windows'
shell: bash
run: |
echo "python_exe=${{env.pythonLocation }}/python" >> $GITHUB_ENV
echo "python_dir=${{env.pythonLocation }}" >> $GITHUB_ENV
cd ${{ env.pythonLocation }}
$pattern = '[\\]'
$pythonWinExecutable = ${{env.pythonLocation }} -replace $pattern, '/'
echo "python_exe=$pythonWinExecutable/python.exe" | Out-File -FilePath $env:GITHUB_ENV -Append
echo "python_v1_dir=$pythonWinExecutable" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Download dependencies binaries
shell: bash
Expand Down

0 comments on commit b2e8779

Please sign in to comment.