debug(ci): list filesystem after checkout to diagnose MSB3202
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -19,6 +19,23 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Debug — show what checkout produced
|
||||
shell: pwsh
|
||||
run: |
|
||||
Write-Host "CWD: $(Get-Location)"
|
||||
Write-Host "GITHUB_WORKSPACE: $env:GITHUB_WORKSPACE"
|
||||
Write-Host ""
|
||||
Write-Host "=== Top-level entries ==="
|
||||
Get-ChildItem -Force | Format-Table Name, Length, Mode
|
||||
Write-Host ""
|
||||
Write-Host "=== All .csproj and .sln files ==="
|
||||
Get-ChildItem -Recurse -File -Include *.csproj,*.sln -ErrorAction SilentlyContinue |
|
||||
ForEach-Object { Write-Host "$($_.FullName) ($($_.Length) bytes)" }
|
||||
Write-Host ""
|
||||
Write-Host "=== src/ tree ==="
|
||||
if (Test-Path src) { Get-ChildItem -Recurse src -Depth 1 -ErrorAction SilentlyContinue | ForEach-Object { Write-Host $_.FullName } }
|
||||
else { Write-Host "src/ does not exist!" }
|
||||
|
||||
- name: Add MSBuild to PATH
|
||||
uses: microsoft/setup-msbuild@v2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user