
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
|