Skip to content

Commit 9316574

Browse files
Copilotdontpanic92
andcommitted
Fix $HOME expansion and add VULKAN_SDK environment variables
Co-authored-by: dontpanic92 <1056013+dontpanic92@users.noreply.github.com>
1 parent f196cc6 commit 9316574

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci-macos.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
# The zip extracts to InstallVulkan.app
3535
if [ -d "/tmp/InstallVulkan.app" ]; then
3636
echo "Using InstallVulkan.app installer..."
37-
sudo /tmp/InstallVulkan.app/Contents/MacOS/InstallVulkan --root ~/VulkanSDK/${VULKAN_SDK_VERSION} --accept-licenses --default-answer --confirm-command install
37+
sudo /tmp/InstallVulkan.app/Contents/MacOS/InstallVulkan --root $HOME/VulkanSDK/${VULKAN_SDK_VERSION} --accept-licenses --default-answer --confirm-command install
38+
echo "VULKAN_SDK=$HOME/VulkanSDK/${VULKAN_SDK_VERSION}" >> $GITHUB_ENV
39+
echo "$HOME/VulkanSDK/${VULKAN_SDK_VERSION}/bin" >> $GITHUB_PATH
3840
rm -rf /tmp/InstallVulkan.app
3941
else
4042
echo "Error: Could not find Vulkan SDK installer"

0 commit comments

Comments
 (0)