mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
fix(cache-magento): address set-output deprecation (#231)
This commit is contained in:
@@ -22,11 +22,11 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
echo "dir=$(composer config cache-files-dir --global)" >> $GITHUB_OUTPUT
|
echo "dir=$(composer config cache-files-dir --global)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- run: echo "::set-output name=version::$(php -v | awk 'NR==1{print $2}')"
|
- run: echo "version=$(php -v | awk 'NR==1{print $2}')" >> "$GITHUB_OUTPUT"
|
||||||
shell: bash
|
shell: bash
|
||||||
id: cache-magento-get-php-version
|
id: cache-magento-get-php-version
|
||||||
|
|
||||||
- run: echo "::set-output name=version::$(composer --version | awk '{print $3}')"
|
- run: echo "version=$(composer --version | awk '{print $3}')" >> "$GITHUB_OUTPUT"
|
||||||
shell: bash
|
shell: bash
|
||||||
name: Compute Composer Version
|
name: Compute Composer Version
|
||||||
id: cache-magento-get-composer-version
|
id: cache-magento-get-composer-version
|
||||||
|
|||||||
Reference in New Issue
Block a user