Skip to content

Commit b5d4ec1

Browse files
committed
Fix patch in php.sh
1 parent 7f23de8 commit b5d4ec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
for i in $versions; do
4343
if [ "$i" = "$version" ]; then
4444
curl -o /tmp/php.sh -sSL https://raw.githubusercontent.com/actions/virtual-environments/main/images/linux/scripts/installers/php.sh
45-
sed -i "s/\$(jq -r '.php.versions\[\]' \$toolset)/\"$version\"/" /tmp/php.sh
45+
sed -i "s/^php_versions.*/php_versions=$version/" /tmp/php.sh
4646
sed -i 's/php-/php$version-/' /tmp/php.sh
4747
sed -i 's/php$version-pear/php-pear/' /tmp/php.sh
4848
grep 'php_versions=' /tmp/php.sh

0 commit comments

Comments
 (0)