Skip to content

Commit 5fbeeca

Browse files
authored
It's the official pre-release location. See https://www.php.net/archive/2021.php#2021-10-28-2
1 parent f8d427e commit 5fbeeca

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/test.yml

+3
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ jobs:
6060
librdkafka: 'v0.11.6'
6161
- php: '7.0.0'
6262
librdkafka: 'v0.11.6'
63+
- php: '8.1.0RC6'
64+
librdkafka: 'master'
65+
experimental: true
6366
- php: '8.0.0'
6467
librdkafka: 'master'
6568
experimental: true

.github/workflows/test/build-php.sh

+6-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ fi
88

99
if ! [ -f ~/build-cache/php/usr/local/bin/php ]; then
1010
echo "PHP build is not cached"
11-
12-
wget https://secure.php.net/distributions/php-${PHP_VERSION}.tar.bz2
11+
12+
case $PHP_VERSION in
13+
"8.1"*) wget https://downloads.php.net/~ramsey/php-${PHP_VERSION}.tar.bz2 ;;
14+
*) wget https://secure.php.net/distributions/php-${PHP_VERSION}.tar.bz2 ;;
15+
esac
16+
1317
tar xjf php-${PHP_VERSION}.tar.bz2
1418
cd php-${PHP_VERSION}
1519

0 commit comments

Comments
 (0)