1 parent
72bebe1584
commit
3924df4246
1 file changed
+16
@@ -0,0 +1,16 @@
|
||||
name: probe-windows
|
||||
on: push
|
||||
jobs:
|
||||
probe:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- run: |
|
||||
$PSVersionTable.PSVersion
|
||||
whoami; hostname; Get-Location
|
||||
[Environment]::OSVersion
|
||||
foreach ($c in 'git','bash','pwsh','powershell','python','python3','curl','tar','7z','cmake','ninja','flutter','dart','node','cl','msbuild') { $p = Get-Command $c -ErrorAction SilentlyContinue; "{0,-12} {1}" -f $c, ($p.Source) }
|
||||
$vw = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
|
||||
if (Test-Path $vw) { & $vw -all -products * -format text | Select-String 'displayName|installationPath|installationVersion' } else { 'no vswhere' }
|
||||
Get-PSDrive -PSProvider FileSystem | Select-Object Name,Free
|
||||
"PATH=$env:PATH"
|
||||
shell: powershell
|
||||
Reference in new issue
Block a user