Skip to content

Commit 8d1e896

Browse files
committed
Move back to snaps on PHP 8
1 parent c9b9d08 commit 8d1e896

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/php80.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ jobs:
7979
((Get-Content -path $snap_script_location -Raw) -replace "0, 7", "0, 10") | Set-Content -Path $snap_script_location
8080
((Get-Content -path $branch_script_location -Raw) -replace "0, 7", "0, 10") | Set-Content -Path $branch_script_location
8181
((Get-Content -path $config_location -Raw) -replace "pgo=1", "pgo=0") | Set-Content -Path $config_location
82-
((Get-Content -path $config_location -Raw) -replace "heads/PHP-8.0", "heads/PHP-8.0.0") | Set-Content -Path $config_location
8382
- name: build PHP
8483
run: |
8584
C:\php-snap-build\php-sdk\bin\vswhere
@@ -141,11 +140,13 @@ jobs:
141140
run: |
142141
set -x
143142
curl -sLO http://dl.bintray.com/shivammathur/php/Get-PhpNightly.ps1
143+
curl -sLO http://dl.bintray.com/shivammathur/php/Get-Php.ps1
144144
assets=()
145145
for asset in ./uploads/*; do
146146
assets+=("$asset")
147147
done
148148
assets+=("./Get-PhpNightly.ps1")
149+
assets+=("./Get-Php.ps1")
149150
gh release delete "php8.0" -y || true
150151
gh release create "php8.0" "${assets[@]}" -t "php8.0" -n "php8.0"
151152
env:

.github/workflows/phpmaster.yml

+2
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,13 @@ jobs:
151151
run: |
152152
set -x
153153
curl -sLO http://dl.bintray.com/shivammathur/php/Get-PhpNightly.ps1
154+
curl -sLO http://dl.bintray.com/shivammathur/php/Get-Php.ps1
154155
assets=()
155156
for asset in ./uploads/*; do
156157
assets+=("$asset")
157158
done
158159
assets+=("./Get-PhpNightly.ps1")
160+
assets+=("./Get-Php.ps1")
159161
gh release delete "php8.1" -y || true
160162
gh release create "php8.1" "${assets[@]}" -t "php8.1" -n "php8.1"
161163
env:

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Following configurations are build nightly.
1717
### PHP 8.1.0-dev/master
1818
[https://github.com/shivammathur/php-builder-windows/releases/tag/php8.1](https://github.com/shivammathur/php-builder-windows/releases/tag/php8.1)
1919

20-
### PHP 8.0.0-dev
20+
### PHP 8.0.x-dev
2121
[https://github.com/shivammathur/php-builder-windows/releases/tag/php8.0](https://github.com/shivammathur/php-builder-windows/releases/tag/php8.0)
2222

2323
## Install
@@ -31,8 +31,8 @@ $version = '8.1' # Set 8.0 or 8.1
3131
3232
# Install
3333
New-Item -Path $php_dir -Type Directory -Force
34-
Invoke-WebRequest -UseBasicParsing -Uri https://github.com/shivammathur/php-builder-windows/releases/latest/download/Get-PhpNightly.ps1 -OutFile $php_dir\Get-PhpNightly.ps1
35-
. $php_dir\Get-PhpNightly.ps1 -Architecture $arch -ThreadSafe $ts -Path $php_dir -Version $version
34+
Invoke-WebRequest -UseBasicParsing -Uri https://github.com/shivammathur/php-builder-windows/releases/latest/download/Get-Php.ps1 -OutFile $php_dir\Get-Php.ps1
35+
. $php_dir\Get-Php.ps1 -Architecture $arch -ThreadSafe $ts -Path $php_dir -Version $version
3636
3737
# Test
3838
. $php_dir\php -v

0 commit comments

Comments
 (0)