@@ -45,16 +45,16 @@ runs:
4545 if: ${{ steps.cache-restore.outputs.cache-hit != 'true' && runner.os == 'macOS' }}
4646 - run : |
4747 $sdkVersion='${{ inputs.version == 'latest' && steps.determineSdkVersion.outputs.sdkVersion || inputs.version }}'
48- curl -sSL -o "$RUNNER_TEMP/vulkan_sdk.exe" "https://sdk.lunarg.com/sdk/download/$sdkVersion/windows/vulkan_sdk.exe"
49- $null = New-Item -ItemType Directory -Force -Path "$RUNNER_TOOL_CACHE/vulkan/$sdkVersion"
50- & "$RUNNER_TEMP/vulkan_sdk.exe" --root "$RUNNER_TOOL_CACHE/vulkan/$sdkVersion" --accept-licenses --default-answer --auto-answer OverwriteTargetDirectory=Yes --confirm-command install
48+ curl -sSL -o "${Env: RUNNER_TEMP} /vulkan_sdk.exe" "https://sdk.lunarg.com/sdk/download/$sdkVersion/windows/vulkan_sdk.exe"
49+ $null = New-Item -ItemType Directory -Force -Path "${Env: RUNNER_TOOL_CACHE} /vulkan/$sdkVersion"
50+ & "${Env: RUNNER_TEMP} /vulkan_sdk.exe" --root "${Env: RUNNER_TOOL_CACHE} /vulkan/$sdkVersion" --accept-licenses --default-answer --auto-answer OverwriteTargetDirectory=Yes --confirm-command install
5151 shell: pwsh
5252 if: ${{ steps.cache-restore.outputs.cache-hit != 'true' && runner.os == 'Windows' && runner.arch == 'x64' }}
5353 - run : |
5454 $sdkVersion='${{ inputs.version == 'latest' && steps.determineSdkVersion.outputs.sdkVersion || inputs.version }}'
55- curl -sSL -o "$RUNNER_TEMP/vulkan_sdk.exe" "https://sdk.lunarg.com/sdk/download/$sdkVersion/warm/vulkan_sdk.exe"
56- $null = New-Item -ItemType Directory -Force -Path "$RUNNER_TOOL_CACHE/vulkan/$sdkVersion"
57- & "$RUNNER_TEMP/vulkan_sdk.exe" --root "$RUNNER_TOOL_CACHE/vulkan/$sdkVersion" --accept-licenses --default-answer --auto-answer OverwriteTargetDirectory=Yes --confirm-command install
55+ curl -sSL -o "${Env: RUNNER_TEMP} /vulkan_sdk.exe" "https://sdk.lunarg.com/sdk/download/$sdkVersion/warm/vulkan_sdk.exe"
56+ $null = New-Item -ItemType Directory -Force -Path "${Env: RUNNER_TOOL_CACHE} /vulkan/$sdkVersion"
57+ & "${Env: RUNNER_TEMP} /vulkan_sdk.exe" --root "${Env: RUNNER_TOOL_CACHE} /vulkan/$sdkVersion" --accept-licenses --default-answer --auto-answer OverwriteTargetDirectory=Yes --confirm-command install
5858 shell: pwsh
5959 if: ${{ steps.cache-restore.outputs.cache-hit != 'true' && runner.os == 'Windows' && (runner.arch == 'ARM' || runner.arch == 'ARM64') }}
6060
6464 with :
6565 path : ${{ runner.tool_cache }}/vulkan/${{ inputs.version == 'latest' && steps.determineSdkVersion.outputs.sdkVersion || inputs.version }}
6666 key : ${{ steps.cache-restore.outputs.cache-primary-key }}
67+ if : ${{ steps.cache-restore.outputs.cache-hit != 'true' }}
6768
6869 # Setup environment variables
6970 - run : |
0 commit comments