-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move downgrade logic into its own file
- Loading branch information
1 parent
d7749dd
commit 43c8894
Showing
2 changed files
with
22 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Downgrade PHP 8.3 to PHP 7.4 | ||
|
||
runs: | ||
using: composite | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.3 | ||
coverage: none | ||
|
||
- uses: ramsey/composer-install@v2 | ||
|
||
# downgrade /src to PHP 7.4 | ||
- run: vendor/bin/rector process src bin --config build/rector-downgrade-php-74.php --ansi | ||
|
||
# copy PHP 7.4 composer | ||
- run: cp build/composer-php-74.json composer.json | ||
- run: cp build/composer-php-74.lock composer.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters