File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -54,17 +54,18 @@ jobs:
5454 run : |
5555 curl -L -o vulkansdk-macos.dmg https://sdk.lunarg.com/sdk/download/1.3.290.0/mac/vulkansdk-macos-1.3.290.0.dmg
5656 hdiutil attach vulkansdk-macos.dmg
57- sudo installer -pkg /Volumes/vulkansdk-macos-1.3.290.0/VulkanSDK.pkg -target /
57+ pkg_path=$(find /Volumes/vulkansdk-macos-1.3.290.0 -maxdepth 1 -name "*.pkg" | head -n 1)
58+ sudo installer -pkg "$pkg_path" -target /
5859 hdiutil detach /Volumes/vulkansdk-macos-1.3.290.0
5960 echo "VULKAN_SDK=/usr/local/vulkansdk/1.3.290.0" >> $GITHUB_ENV
61+
6062
6163 - name : Dependencies
6264 if : runner.os == 'Windows'
6365 run : |
6466 $SDK_VERSION = (Invoke-RestMethod -Uri "https://vulkan.lunarg.com/sdk/latest/windows.txt").Trim()
6567 Invoke-WebRequest -Uri "https://sdk.lunarg.com/sdk/download/$SDK_VERSION/windows/vulkan_sdk.exe" -OutFile vulkan_sdk.exe
6668 Start-Process -FilePath "vulkan_sdk.exe" -ArgumentList "in", "--al", "--confirm-command" -Wait
67- # Manually set VULKAN_SDK since the installer doesn't update the current session
6869 $env:VULKAN_SDK = "C:\VulkanSDK\$SDK_VERSION"
6970 $env:LIB += ";$env:VULKAN_SDK\Lib"
7071 echo "VULKAN_SDK=$env:VULKAN_SDK" >> $env:GITHUB_ENV
You can’t perform that action at this time.
0 commit comments