Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wip/vitvakatu/check bash #11933

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/ide-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ jobs:
- self-hosted
- Windows
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -162,6 +169,48 @@ jobs:
- self-hosted
- Windows
steps:
- name: Check Git and bash locations
shell: pwsh
if: runner.os == 'Windows'
run: |
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: Add Git bin to PATH and check bash
shell: cmd
if: runner.os == 'Windows'
run: |
echo "Original PATH:"
echo %PATH%
echo.
echo "Adding Git bin to PATH..."
set "PATH=C:\Program Files\Git\bin;%PATH%"
echo.
echo "New PATH:"
echo %PATH%
echo.
echo "Checking for bash.exe..."
where bash.exe
echo.
echo "Verifying bash version:"
bash --version
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down
1 change: 1 addition & 0 deletions app/gui/src/project-view/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ watch(
{ immediate: true },
)

// This comment runs CI
useEventListener(window, 'beforeunload', () => logger.send('ide_project_closed'))

const appConfig = computed(() => {
Expand Down
Loading