[CI] Upgrade cache action to v6
This commit is contained in:
6
.github/workflows/Windows_x86.yml
vendored
6
.github/workflows/Windows_x86.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
|
||||
- name: Cache Vulkan SDK
|
||||
id: cache-vulkan-sdk
|
||||
uses: actions/cache@v5
|
||||
uses: actions/cache@v6
|
||||
with:
|
||||
path: C:\VulkanSDK
|
||||
key: ${{ runner.os }}-vulkan-sdk-${{ hashFiles('**/vulkan-sdk.exe') }}
|
||||
@@ -40,12 +40,12 @@ jobs:
|
||||
|
||||
# Verify shader tools are available
|
||||
foreach ($tool in @("glslangValidator", "spirv-opt", "spirv-dis")) {
|
||||
$toolPath = "${env:VULKAN_SDK}\Bin\$tool.exe"
|
||||
$toolPath = "${env:VULKAN_SDK}\Bin\${tool}.exe"
|
||||
if (Test-Path "$toolPath") {
|
||||
echo "$tool found at: $toolPath"
|
||||
& $toolPath --version 2>$null
|
||||
} else {
|
||||
echo "Warning: $tool.exe not found at expected location"
|
||||
echo "Warning: ${tool}.exe not found at expected location"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user