Skip to content

Commit 14f764c

Browse files
authored
Use tagged version of php-sdk-binary-tools (php#5)
See <https://github.com/php/php-sdk-binary-tools?tab=readme-ov-file#internal-notes>. According to that documentation, for PHP 7.0 and 7.1, PHP SDK 2.1 would be required; however, we already used newer versions, and so far nobody had complained, apparently. So maybe the php-sdk-binary-tools README is not quite correct, or we would need to adapt the tag for those PHP versions. On the other hand, it is somewhat unlikely that these old versions are still in use, so we don't care too much about that.
1 parent 4dda4d8 commit 14f764c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ if (-not $toolset) {
4747
Write-Output "Install PHP SDK ..."
4848

4949
$temp = New-TemporaryFile | Rename-Item -NewName {$_.Name + ".zip"} -PassThru
50-
$url = "https://github.com/php/php-sdk-binary-tools/archive/refs/heads/master.zip"
50+
$url = "https://github.com/php/php-sdk-binary-tools/archive/refs/tags/php-sdk-2.3.0.zip"
5151
Invoke-WebRequest $url -OutFile $temp
5252
Expand-Archive $temp -DestinationPath "."
53-
Rename-Item "php-sdk-binary-tools-master" "php-sdk"
53+
Rename-Item "php-sdk-binary-tools-php-sdk-2.3.0" "php-sdk"
5454

5555
$baseurl = "https://downloads.php.net/~windows/releases/archives"
5656
$releases = @{

0 commit comments

Comments
 (0)