Update our Actions to avoid set-output command #1560
Labels
good first issue
A good first issue to get started with.
size/sm
Small level of effort
type/chore
Issue that requests non-user facing changes.
Description
A number of times in our Github Actions we use the
set-output
command to pass state from one stage to another. That is being deprecated in a number of months, and we should migrate to Github's new recommend path.This is mentioned in the annotations of this job: https://github.com/buildpacks/pack/actions/runs/3558882069
Proposed solution
A workflow using save-state or set-output like the following
should be updated to write to the new GITHUB_STATE and GITHUB_OUTPUT environment files:
Additional context
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#environment-files
The text was updated successfully, but these errors were encountered: