diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 0363d57..f76a6ac 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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