Skip to content

Commit bcfe5e3

Browse files
committed
add version check to stop downloading the deprecated standalone runtime installer, ref. #500
1 parent 8602a1b commit bcfe5e3

File tree

6 files changed

+40
-14
lines changed

6 files changed

+40
-14
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- "It was a bright day in April, and the clocks were striking thirteen." - 1984
1313

14+
## [1.2.4] - 20025-11-06
15+
16+
### Fixed
17+
18+
- added version detection to the installation of Vulkan Runtime on Windows (x64, arm64)
19+
as the standalone installer is deprecated. last version 1.4.313.0., [#500](https://github.com/jakoch/install-vulkan-sdk-action/issues/500)
20+
21+
### Changed
22+
23+
- updated SDK installer component list to include the cross compile lib components:
24+
`com.lunarg.vulkan.arm64` and `com.lunarg.vulkan.x64`, [#499](https://github.com/jakoch/install-vulkan-sdk-action/pull/499)
25+
1426
## [1.2.3] - 2025-05-06
1527

1628
### Fixed
@@ -130,7 +142,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
130142

131143
<!-- Section for Reference Links -->
132144

133-
[vNext]: https://github.com/jakoch/install-vulkan-sdk-action/compare/v1.2.3...HEAD
145+
[vNext]: https://github.com/jakoch/install-vulkan-sdk-action/compare/v1.2.4...HEAD
146+
[1.2.3]: https://github.com/jakoch/install-vulkan-sdk-action/compare/v1.2.3...v1.2.4
134147
[1.2.3]: https://github.com/jakoch/install-vulkan-sdk-action/compare/v1.2.2...v1.2.3
135148
[1.2.2]: https://github.com/jakoch/install-vulkan-sdk-action/compare/v1.2.1...v1.2.2
136149
[1.2.1]: https://github.com/jakoch/install-vulkan-sdk-action/compare/v1.2.0...v1.2.1

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ The following inputs can be used as `steps.with` keys:
9191
| `install_lavapipe` | bool | Windows only. Installs Mesa's Lavapipe software rasterizer. Default: false. | false
9292
| `lavapipe_destination` | String | The installation folder for Lavapipe. | Windows: `C:\lavapipe`. Linux/MacOS: `%HOME/lavapipe` | false
9393

94+
Additional notes:
95+
96+
- `install_runtime`: The standalone Vulkan Runtime installer was only available for Windows (x64 and ARM64).
97+
It is now deprecated and no longer available for download. The last available version is 1.4.313.0.
98+
From version 1.4.313.1 onwards, the runtime is included in the SDK installer.
99+
94100
### Outputs
95101

96102
The following output variables are available:

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,11 @@ async function getVulkanSdk(
8383
const vulkanSdkPath = await downloader.downloadVulkanSdk(version)
8484
installPath = await installerVulkan.installVulkanSdk(vulkanSdkPath, destination, version, optionalComponents)
8585

86+
// NOTE: The standalone Vulkan Runtime installer was only available for Windows (x64 and ARM64).
87+
// It is now deprecated and no longer available for download. The last available version is 1.4.313.0.
88+
// From version 1.4.313.1 onwards, the runtime is included in the SDK installer.
8689
// Download and install Runtime after the SDK. This allows caching both.
87-
if ((platform.IS_WINDOWS || platform.IS_WINDOWS_ARM) && installRuntime) {
90+
if ((platform.IS_WINDOWS || platform.IS_WINDOWS_ARM) && installRuntime && version <= '1.4.313.0') {
8891
const vulkanRuntimePath = await downloader.downloadVulkanRuntime(version)
8992
await installerVulkan.installVulkanRuntime(vulkanRuntimePath, destination, version)
9093
}
@@ -173,7 +176,11 @@ export async function run(): Promise<void> {
173176
core.warning(`Could not find Vulkan SDK in ${installPath}`)
174177
}
175178

176-
if ((platform.IS_WINDOWS || platform.IS_WINDOWS_ARM) && inputs.installRuntime) {
179+
// NOTE: The standalone Vulkan Runtime installer was only available for Windows (x64 and ARM64).
180+
// It is now deprecated and no longer available for download. The last available version is 1.4.313.0.
181+
// From version 1.4.313.1 onwards, the runtime is included in the SDK installer.
182+
// From version 1.4.313.1 onwards, the runtime is included in the SDK installer.
183+
if ((platform.IS_WINDOWS || platform.IS_WINDOWS_ARM) && inputs.installRuntime && version <= '1.4.313.0') {
177184
const runtimePath = `${installPath}\\runtime`
178185
if (installerVulkan.verifyInstallationOfRuntime(installPath, version)) {
179186
core.info(`✔️ [INFO] Path to Vulkan Runtime: ${runtimePath}`)

0 commit comments

Comments
 (0)