-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update PHP/Composer/Magento versions and defaults for actions #231
base: main
Are you sure you want to change the base?
Conversation
Do not merge this until 2.4.7-p2 is tagged upstream and synced to our mirror repositories, due to the version references. |
php-version: 8.1 | ||
tools: composer:v2.4.2 | ||
php-version: 8.3 | ||
tools: composer:v2.7.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tools: composer:v2.7.7 | |
tools: composer:v2.8.4 |
|
||
- uses: ./get-composer-version | ||
id: composer-version | ||
|
||
|
||
- name: Fail if versions do not match | ||
if: steps.composer-version.outputs.version != '2.4.2' | ||
if: steps.composer-version.outputs.version != '2.7.7' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if: steps.composer-version.outputs.version != '2.7.7' | |
if: steps.composer-version.outputs.version != '2.8.4' |
php-version: 8.1 | ||
tools: composer:v2.4.2 | ||
php-version: 8.3 | ||
tools: composer:v2.7.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tools: composer:v2.7.7 | |
tools: composer:v2.8.4 |
|
||
- run: composer create-project --repository-url="https://mirror.mage-os.org" "magento/project-community-edition:2.4.5-p1" ../magento2 --no-install | ||
- run: composer create-project --repository-url="https://mirror.mage-os.org" "magento/project-community-edition:2.4.7-p2" ../magento2 --no-install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- run: composer create-project --repository-url="https://mirror.mage-os.org" "magento/project-community-edition:2.4.7-p2" ../magento2 --no-install | |
- run: composer create-project --repository-url="https://mirror.mage-os.org" "magento/project-community-edition:2.4.7-p3" ../magento2 --no-install |
tools: composer:v2 | ||
mode: extension | ||
magento_version: magento/project-community-edition:2.4.5-p1 | ||
magento_version: magento/project-community-edition:2.4.7-p2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
magento_version: magento/project-community-edition:2.4.7-p2 | |
magento_version: magento/project-community-edition:2.4.7-p3 |
|
||
- uses: mage-os/github-actions/cache-magento@main | ||
with: | ||
mode: 'extension' | ||
composer_cache_key: 'magento/project-community-edition:2.4.5-p1' | ||
composer_cache_key: 'magento/project-community-edition:2.4.7-p2' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
composer_cache_key: 'magento/project-community-edition:2.4.7-p2' | |
composer_cache_key: 'magento/project-community-edition:2.4.7-p3' |
@@ -69,7 +69,7 @@ runs: | |||
- name: Check if allow-plugins option is available for this version of composer | |||
uses: mage-os/github-actions/semver-compare@main | |||
with: | |||
version: 2.2 | |||
version: 2.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version: 2.7 | |
version: 2.8 |
tools: composer:v2 | ||
mode: extension | ||
magento_version: 2.4.5-p1 | ||
magento_version: 2.4.7-p2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
magento_version: 2.4.7-p2 | |
magento_version: 2.4.7-p3 |
@@ -27,7 +27,7 @@ inputs: | |||
|
|||
magento_version: | |||
required: false | |||
default: '~2.4.5' | |||
default: '~2.4.7-p2' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
default: '~2.4.7-p2' | |
default: '~2.4.7-p3' |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Fixes: Outdated versions of PHP/Composer/Magento referenced in actions
What is the new behavior?
This should bring everything up to date for latest releases.
Do not merge this until 2.4.7-p2 is tagged upstream and synced to our mirror repositories.
Does this PR introduce a breaking change?
Other information