Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(ci): use direct Vulkan SDK installer instead of broken GH action

Louis Beaumont08071d33650a
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 57f155189..4642b8a3a 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -288,11 +288,22 @@ jobs:
- name: Install Vulkan SDK (Windows)
if: matrix.os_type == 'windows'
- uses: jakoch/[email protected]
- with:
- vulkan_version: latest
- install_runtime: false
- cache: true
+ shell: powershell
+ run: |
+ $installer = "$env:TEMP\VulkanSDK.exe"
+ Write-Host "Downloading Vulkan SDK..."
+ Invoke-WebRequest -Uri "https://sdk.lunarg.com/sdk/download/latest/windows/vulkan-sdk.exe" -OutFile $installer
+ Write-Host "Installing Vulkan SDK silently..."
+ Start-Process -FilePath $installer -Args "--accept-licenses --default-answer --confirm-command install" -Wait
+ Remove-Item $installer -Force
+ # Find where it installed and set env
+ $sdkDir = Get-ChildItem "C:\VulkanSDK" -Directory | Sort-Object Name -Descending | Select-Object -First 1
+ if ($sdkDir) {
+ Write-Host "Vulkan SDK installed at $($sdkDir.FullName)"
+ echo "VULKAN_SDK=$($sdkDir.FullName)" >> $env:GITHUB_ENV
+ } else {
+ throw "Vulkan SDK installation failed - directory not found"
+ }
- name: Shorten target dir to avoid MAX_PATH (Windows)
if: matrix.os_type == 'windows'
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml
index 10bd92155..4378265a8 100644
--- a/.github/workflows/release-cli.yml
+++ b/.github/workflows/release-cli.yml
@@ -280,11 +280,21 @@ jobs:
Get-ChildItem "$extractDir/lib" | ForEach-Object { Write-Host $_.Name }
- name: Install Vulkan SDK
- uses: jakoch/[email protected]
- with:
- vulkan_version: latest
- install_runtime: false
- cache: true
+ shell: powershell
+ run: |
+ $installer = "$env:TEMP\VulkanSDK.exe"
+ Write-Host "Downloading Vulkan SDK..."
+ Invoke-WebRequest -Uri "https://sdk.lunarg.com/sdk/download/latest/windows/vulkan-sdk.exe" -OutFile $installer
+ Write-Host "Installing Vulkan SDK silently..."
+ Start-Process -FilePath $installer -Args "--accept-licenses --default-answer --confirm-command install" -Wait
+ Remove-Item $installer -Force
+ $sdkDir = Get-ChildItem "C:\VulkanSDK" -Directory | Sort-Object Name -Descending | Select-Object -First 1
+ if ($sdkDir) {
+ Write-Host "Vulkan SDK installed at $($sdkDir.FullName)"
+ echo "VULKAN_SDK=$($sdkDir.FullName)" >> $env:GITHUB_ENV
+ } else {
+ throw "Vulkan SDK installation failed"
+ }
- name: Shorten target dir to avoid MAX_PATH (Vulkan shaders)
shell: powershell
diff --git a/.github/workflows/release-enterprise-windows.yml b/.github/workflows/release-enterprise-windows.yml
index bb8a65cda..822ad65c9 100644
--- a/.github/workflows/release-enterprise-windows.yml
+++ b/.github/workflows/release-enterprise-windows.yml
@@ -24,11 +24,21 @@ jobs:
if ((git config --global --get core.longpaths) -ne "true") { throw "Failed to enable git long paths" }
- name: Install Vulkan SDK
- uses: jakoch/[email protected]
- with:
- vulkan_version: latest
- install_runtime: false
- cache: true
+ shell: powershell
+ run: |
+ $installer = "$env:TEMP\VulkanSDK.exe"
+ Write-Host "Downloading Vulkan SDK..."
+ Invoke-WebRequest -Uri "https://sdk.lunarg.com/sdk/download/latest/windows/vulkan-sdk.exe" -OutFile $installer
+ Write-Host "Installing Vulkan SDK silently..."
+ Start-Process -FilePath $installer -Args "--accept-licenses --default-answer --confirm-command install" -Wait
+ Remove-Item $installer -Force
+ $sdkDir = Get-ChildItem "C:\VulkanSDK" -Directory | Sort-Object Name -Descending | Select-Object -First 1
+ if ($sdkDir) {
+ Write-Host "Vulkan SDK installed at $($sdkDir.FullName)"
+ echo "VULKAN_SDK=$($sdkDir.FullName)" >> $env:GITHUB_ENV
+ } else {
+ throw "Vulkan SDK installation failed"
+ }
- name: Shorten target dir to avoid MAX_PATH
shell: powershell