File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,13 +36,15 @@ jobs:
3636 if : runner.os == 'Windows'
3737 run : |
3838 vfox install erlang@25.3.2.12
39- vfox activate pwsh | Out-File -FilePath vfox_env.ps1
39+ if (-not (Test-Path -Path $PROFILE)) { New-Item -Type File -Path $PROFILE -Force }; Add-Content -Path $PROFILE -Value 'Invoke-Expression "$(vfox activate pwsh)"'
40+ # vfox activate pwsh | Out-File -FilePath vfox_env.ps1
4041 - name : test installation
4142 if : runner.os == 'Windows'
43+ shell : powershell -NoExit -command ". '{0}'"
4244 run : |
43- Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process -Force
44- cat vfox_env.ps1
45- & .\vfox_env.ps1
45+ # Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process -Force
46+ # cat vfox_env.ps1
47+ # & .\vfox_env.ps1
4648 echo $env:__VFOX_SHELL
4749 echo $env:__VFOX_CURTMPPATH
4850 vfox use -g erlang@25.3.2.12
You can’t perform that action at this time.
0 commit comments