mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
chore(deps): use get-magento-verison (#74)
This commit is contained in:
@@ -108,15 +108,10 @@ jobs:
|
||||
COMPOSER_AUTH: ${{ secrets.composer_auth }}
|
||||
name: Create Magento ${{ matrix.magento }} Project
|
||||
|
||||
- run: |
|
||||
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
|
||||
- uses: graycoreio/github-actions-magento2/get-magento-version@main
|
||||
id: magento-version
|
||||
with:
|
||||
working-directory: ${{ inputs.magento_directory }}
|
||||
|
||||
- name: Get Composer Cache Directory
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user