Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
vitvakatu committed Dec 20, 2024
1 parent c79c606 commit 34904eb
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/ide-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,30 @@ jobs:
- self-hosted
- Windows
steps:
- name: Check bash.exe availability
shell: cmd
- name: Check Git and bash locations
if: runner.os == 'Windows'
shell: pwsh
run: |
where bash.exe || echo "bash.exe not found in PATH"
echo "PATH=%PATH%"
Write-Host "Checking Git installation..." -ForegroundColor Yellow
$gitExe = (Get-Command git.exe).Path
Write-Host "Git executable: $gitExe"
Write-Host "`nGit version:" -ForegroundColor Yellow
git --version
Write-Host "`nChecking for bash in Git directory..." -ForegroundColor Yellow
$gitDir = Split-Path $gitExe -Parent
$expectedBashPath = Join-Path (Split-Path $gitDir -Parent) "bin\bash.exe"
if (Test-Path $expectedBashPath) {
Write-Host "Found bash.exe at: $expectedBashPath"
& $expectedBashPath --version
} else {
Write-Host "bash.exe not found at expected path: $expectedBashPath"
}
Write-Host "`nAll bash.exe locations in PATH:" -ForegroundColor Yellow
Get-Command bash.exe -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Path
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
Expand Down

0 comments on commit 34904eb

Please sign in to comment.