[CI] Upgrade cache action to v6
This commit is contained in:
2
.github/workflows/Check_commit_message.yml
vendored
2
.github/workflows/Check_commit_message.yml
vendored
@@ -37,7 +37,7 @@ jobs:
|
|||||||
echo "::error::Commit $SHORT is missing a [Tag] prefix. Expected format: [Tag] Description (e.g. [CPU] Fix overflow in JIT)"
|
echo "::error::Commit $SHORT is missing a [Tag] prefix. Expected format: [Tag] Description (e.g. [CPU] Fix overflow in JIT)"
|
||||||
FAILED=1
|
FAILED=1
|
||||||
fi
|
fi
|
||||||
done <<< "${COMMITS}"
|
done <<< "$COMMITS"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/Linux_x86.yml
vendored
4
.github/workflows/Linux_x86.yml
vendored
@@ -29,14 +29,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Cache Vulkan SDK
|
- name: Cache Vulkan SDK
|
||||||
id: cache-vulkan-sdk-linux
|
id: cache-vulkan-sdk-linux
|
||||||
uses: actions/cache@v5
|
uses: actions/cache@v6
|
||||||
with:
|
with:
|
||||||
path: ~/vulkan-sdk
|
path: ~/vulkan-sdk
|
||||||
key: ${{ runner.os }}-vulkan-sdk-latest
|
key: ${{ runner.os }}-vulkan-sdk-latest
|
||||||
|
|
||||||
- name: Cache linuxdeploy tools
|
- name: Cache linuxdeploy tools
|
||||||
id: cache-linuxdeploy
|
id: cache-linuxdeploy
|
||||||
uses: actions/cache@v5
|
uses: actions/cache@v6
|
||||||
with:
|
with:
|
||||||
path: ~/linuxdeploy
|
path: ~/linuxdeploy
|
||||||
key: ${{ runner.os }}-linuxdeploy-tools
|
key: ${{ runner.os }}-linuxdeploy-tools
|
||||||
|
|||||||
6
.github/workflows/Windows_x86.yml
vendored
6
.github/workflows/Windows_x86.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Cache Vulkan SDK
|
- name: Cache Vulkan SDK
|
||||||
id: cache-vulkan-sdk
|
id: cache-vulkan-sdk
|
||||||
uses: actions/cache@v5
|
uses: actions/cache@v6
|
||||||
with:
|
with:
|
||||||
path: C:\VulkanSDK
|
path: C:\VulkanSDK
|
||||||
key: ${{ runner.os }}-vulkan-sdk-${{ hashFiles('**/vulkan-sdk.exe') }}
|
key: ${{ runner.os }}-vulkan-sdk-${{ hashFiles('**/vulkan-sdk.exe') }}
|
||||||
@@ -40,12 +40,12 @@ jobs:
|
|||||||
|
|
||||||
# Verify shader tools are available
|
# Verify shader tools are available
|
||||||
foreach ($tool in @("glslangValidator", "spirv-opt", "spirv-dis")) {
|
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") {
|
if (Test-Path "$toolPath") {
|
||||||
echo "$tool found at: $toolPath"
|
echo "$tool found at: $toolPath"
|
||||||
& $toolPath --version 2>$null
|
& $toolPath --version 2>$null
|
||||||
} else {
|
} 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