Skip to content

Commit 5ba7ee0

Browse files
committed
Try alternative solution
1 parent 5c4fad3 commit 5ba7ee0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/jobs/fix_pipelinecomponents_image.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@ mydir=$(pwd)
1515

1616
echo "Before /app/composer.json:"
1717
cat /app/composer.json
18-
sed -i 's/"phpcompatibility\/php-compatibility": "9.3.5"/"phpcompatibility\/php-compatibility": "dev-develop"/g' /app/composer.json
19-
sed -i 's/"squizlabs\/php_codesniffer": "3.13.2"/"squizlabs\/php_codesniffer": "^3.13.3"/g' /app/composer.json
18+
19+
echo "Install the only needed tool"
20+
rm /app/composer.json
21+
cd /app
22+
composer require phpcompatibility/php-compatibility:dev-develop
23+
2024
echo "After /app/composer.json:"
2125
cat /app/composer.json
2226

23-
cd /app; composer update
27+
composer update
2428
cd $mydir

0 commit comments

Comments
 (0)