Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 31e3c49

Browse files
authored
Merge pull request #66 from JSKitty/master
Yet another another Windows Vulkan install attempt
2 parents 61b4e9c + 5aa935b commit 31e3c49

1 file changed

Lines changed: 6 additions & 12 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,13 @@ jobs:
5050
sudo apt-get update
5151
sudo apt-get install -y vulkan-sdk
5252
53-
- name: Install Vulkan SDK (Windows)
53+
- name: Setup Vulkan SDK (Windows)
5454
if: matrix.platform == 'windows-latest'
55-
run: |
56-
Write-Host "Installing Vulkan SDK via winget..."
57-
winget install --id=KhronosGroup.VulkanSDK --exact --silent --accept-package-agreements --accept-source-agreements
58-
Write-Host "Setting environment variables..."
59-
# winget installs to a versioned directory, let's find it
60-
$vulkanPath = Get-ChildItem "C:\VulkanSDK\" | Sort-Object Name -Descending | Select-Object -First 1
61-
$vulkanSdkPath = $vulkanPath.FullName
62-
Write-Host "Found Vulkan SDK at: $vulkanSdkPath"
63-
echo "VULKAN_SDK=$vulkanSdkPath" >> $env:GITHUB_ENV
64-
echo "$vulkanSdkPath\Bin" >> $env:GITHUB_PATH
65-
Write-Host "Vulkan SDK setup complete!"
55+
uses: humbletim/setup-vulkan-sdk@v1.2.1
56+
with:
57+
vulkan-query-version: latest
58+
vulkan-components: Vulkan-Headers, Vulkan-Loader, Glslang, SPIRV-Tools
59+
vulkan-use-cache: true
6660

6761
- name: install frontend dependencies
6862
run: npm install

0 commit comments

Comments
 (0)