diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 2ca4afc..e1cf4bf 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -118,7 +118,8 @@ jobs: working-directory: ${{ inputs.magento_directory }} id: composer-cache run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + - name: "Cache Composer Packages" uses: actions/cache@v3 diff --git a/coding-standard/action.yml b/coding-standard/action.yml index 72112cb..1ce6776 100644 --- a/coding-standard/action.yml +++ b/coding-standard/action.yml @@ -56,7 +56,7 @@ runs: shell: bash working-directory: project id: changed-files - run: echo "::set-output name=files::$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | xargs)" + run: echo "files=$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | xargs)" >> $GITHUB_OUTPUT if: github.event_name == 'pull_request' - name: Coding Standard Check diff --git a/get-magento-version/action.yml b/get-magento-version/action.yml index dc46446..9f1f5b9 100644 --- a/get-magento-version/action.yml +++ b/get-magento-version/action.yml @@ -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 diff --git a/installation-test/action.yml b/installation-test/action.yml index eea075f..cf7e46a 100644 --- a/installation-test/action.yml +++ b/installation-test/action.yml @@ -79,7 +79,8 @@ runs: working-directory: ${{ inputs.magento_directory }} id: composer-cache run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + - name: "Cache Composer Packages" uses: actions/cache@v3 diff --git a/unit-test/action.yml b/unit-test/action.yml index e981ed7..c35dc82 100644 --- a/unit-test/action.yml +++ b/unit-test/action.yml @@ -34,7 +34,7 @@ runs: working-directory: ${{ inputs.source_folder }} id: composer-cache run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: "Cache Composer Packages" uses: actions/cache@v3