refactor: fix ::set-output deprecations (#79)

This commit is contained in:
Gowri
2022-10-21 06:28:22 +10:30
committed by GitHub
parent 84c16c2ad9
commit d8936216c0
5 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -17,10 +17,10 @@ runs:
using: "composite"
steps:
- run: |
echo "::set-output name=version::$(cat composer.json | jq '.require
echo "version=$(cat composer.json | jq '.require
| with_entries( select(.key == "magento/product-community-edition" or .key == "magento/product-enterprise-edition") )
| to_entries
| .[0].value')"
| .[0].value')" >> $GITHUB_OUTPUT
shell: bash
working-directory: ${{ inputs.working-directory }}
name: Compute Installed Magento version