How to fix the deprecated set-output command in GitHub Actions? Well, this video covers exactly this! With PHP Composer cache as a user-case 😊
If you receive the GitHub Actions log messages "The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files."
Further information on the GitHub blog post https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
- And on the official actions/cache@3 documentation page where an example is given: https://github.com/actions/cache/blob/main/examples.md#php---composer
Repos I will walk you through this video to replace the deprecated set-output
for the following GitHub repositories
- https://github.com/pH-7/Html2Text/blob/main/.github/workflows/test.yml
- https://github.com/pH-7/CuteLinkNames/blob/main/.github/workflows/test.yml
- https://github.com/pH-7/eu-vat-validator/blob/main/.github/workflows/test.yml
Top comments (1)
Any issues, just let me know by commenting this post 🙂
Good luck!