withastro / action

A GitHub Action that deploys your Astro project to GitHub Pages
Other
143 stars 31 forks source link

Stop using deprecated `::set-output` #18

Closed jordemort closed 1 year ago

jordemort commented 1 year ago

Workflows using this action currently trigger a warning:

The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

This PR switches from using ::set-output to appending to the new GITHUB_OUTPUT variable.

Re: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

jordemort commented 1 year ago

Wait, didn't see https://github.com/withastro/action/pull/15 - feel free to re-open this one if you prefer