Skip to content

Commit

Permalink
Download a release asset instead of a tag archive (GH-13)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 authored Sep 15, 2024
1 parent effb4eb commit 8d9e79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if (-not $toolset) {
Write-Output "Install PHP SDK ..."

$temp = New-TemporaryFile | Rename-Item -NewName {$_.Name + ".zip"} -PassThru
$url = "https://github.com/php/php-sdk-binary-tools/archive/refs/tags/php-sdk-2.3.0.zip"
$url = "https://github.com/php/php-sdk-binary-tools/releases/download/php-sdk-2.3.0/php-sdk-binary-tools-php-sdk-2.3.0.zip"
Invoke-WebRequest $url -OutFile $temp
Expand-Archive $temp -DestinationPath "."
Rename-Item "php-sdk-binary-tools-php-sdk-2.3.0" "php-sdk"
Expand Down

0 comments on commit 8d9e79b

Please sign in to comment.