mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 06:40:48 -06:00
Powershell scripts cannot be launched as commands on Windows. They must be run through the `powershell` or `pwsh` tool.
5 lines
155 B
PowerShell
5 lines
155 B
PowerShell
$pwdpath = $pwd.Path
|
|
& "$pwsh" -File ".gitlab/ci/python.ps1"
|
|
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\python3;$env:PATH"
|
|
python --version
|