mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-13 13:14:53 +00:00
chore(deps): use get-magento-verison (#74)
This commit is contained in:
@@ -108,15 +108,10 @@ jobs:
|
|||||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||||
name: Create Magento ${{ matrix.magento }} Project
|
name: Create Magento ${{ matrix.magento }} Project
|
||||||
|
|
||||||
- run: |
|
- uses: graycoreio/github-actions-magento2/get-magento-version@main
|
||||||
echo "::set-output name=version::$(cat composer.json | jq '.require
|
|
||||||
| with_entries( select(.key == "magento/product-community-edition" or .key == "magento/product-enterprise-edition") )
|
|
||||||
| to_entries
|
|
||||||
| .[0].value')"
|
|
||||||
shell: bash
|
|
||||||
working-directory: ${{ inputs.magento_directory }}
|
|
||||||
name: Compute Installable Magento version
|
|
||||||
id: magento-version
|
id: magento-version
|
||||||
|
with:
|
||||||
|
working-directory: ${{ inputs.magento_directory }}
|
||||||
|
|
||||||
- name: Get Composer Cache Directory
|
- name: Get Composer Cache Directory
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user