Skip to content

Commit 2aa3e41

Browse files
committed
Use manual PowerShell installation for Vulkan SDK to avoid cache v2 deprecation issue
1 parent 7292f05 commit 2aa3e41

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ jobs:
1616
uses: actions/checkout@v3
1717

1818
- name: Install Vulkan SDK
19-
uses: humbletim/install-vulkan-sdk@v1
20-
with:
21-
version: latest
22-
cache: false
19+
shell: pwsh
20+
run: |
21+
Invoke-WebRequest -Uri "https://sdk.lunarg.com/sdk/download/latest/windows/vulkan_sdk.exe" -OutFile VulkanSDK.exe
22+
Start-Process -FilePath .\VulkanSDK.exe -ArgumentList "--root", "C:\VulkanSDK", "--accept-licenses", "--default-answer", "--confirm-command", "install" -NoNewWindow -Wait
23+
echo "VULKAN_SDK=C:\VulkanSDK" >> $env:GITHUB_ENV
24+
echo "C:\VulkanSDK\Bin" >> $env:GITHUB_PATH
2325
2426
- name: Configure CMake
2527
run: |

0 commit comments

Comments
 (0)