Skip to content

fix(cache-magento): address set-output deprecation (#231)#326

Merged
rhoerr merged 1 commit intomage-os:mainfrom
damienwebdev:fix-set-output
May 5, 2026
Merged

fix(cache-magento): address set-output deprecation (#231)#326
rhoerr merged 1 commit intomage-os:mainfrom
damienwebdev:fix-set-output

Conversation

@damienwebdev
Copy link
Copy Markdown
Member

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Annoying set-output logs.

Fixes: N/A

What is the new behavior?

No more set-output logs.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Copy link
Copy Markdown

@marcelmtz marcelmtz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, just a reminder for standardize it in the future.

Comment thread cache-magento/action.yml
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"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like in the same file we have unquoted "$GITHUB_OUTPUT", not critical for this PR but I might introduce another change to standardize all to the above entry

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A linting rule here would be very helpful.

@rhoerr rhoerr merged commit 2edb83e into mage-os:main May 5, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants