Skip to content

Commit 7cc9dd6

Browse files
kristof-ringleffdamienwebdev
authored andcommitted
fix(cache-magento): address set-output deprecation (mage-os#231)
1 parent b281820 commit 7cc9dd6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cache-magento/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ runs:
2626
run: |
2727
echo "dir=$(composer config cache-files-dir --global)" >> $GITHUB_OUTPUT
2828
29-
- run: echo "::set-output name=version::$(php -v | awk 'NR==1{print $2}')"
29+
- run: echo "version=$(php -v | awk 'NR==1{print $2}')" >> "$GITHUB_OUTPUT"
3030
shell: bash
3131
id: cache-magento-get-php-version
3232

33-
- run: echo "::set-output name=version::$(composer --version | awk '{print $3}')"
33+
- run: echo "version=$(composer --version | awk '{print $3}')" >> "$GITHUB_OUTPUT"
3434
shell: bash
3535
name: Compute Composer Version
3636
id: cache-magento-get-composer-version

0 commit comments

Comments
 (0)