Skip to content

Commit aeb631f

Browse files
committed
Close php#3: Improve error message for "toolset not available"
Besides a slight improvement to the error message, we also fix the outdated documentation in README.md.
1 parent d07cd98 commit aeb631f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ strategy:
5252
- { os: windows-2022, php: "7.1" }
5353
```
5454
55-
Currently, `windows-2019` may be used for all PHP versions, although this may
56-
change in future releases.
55+
Currently, windows-2019 may be used for all PHP versions up to PHP 8.3.
56+
PHP 8.4 requires a newer image such as windows-2022.
5757
5858
### Manually Installing Toolsets
5959

run.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ foreach ($toolset in (Get-ChildItem $dir)) {
4444
}
4545
$toolset = $toolsets.$vs
4646
if (-not $toolset) {
47-
throw "toolset not available"
47+
throw "no suitable toolset available on this runner"
4848
}
4949

5050
if (-not (Test-Path "php-sdk")) {

0 commit comments

Comments
 (0)