From 84c16c2ad9a1cac4bdaa336e784fa5b630c9e7ba Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Fri, 14 Oct 2022 13:15:26 -0400 Subject: [PATCH] chore(deps): use get-magento-verison (#74) --- .github/workflows/integration.yaml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 214f368..2ca4afc 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -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