Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

GitHub Actions: Deprecating save-state and set-output commands #8523

Closed
roykho opened this issue Feb 23, 2023 · 0 comments · Fixed by #9133
Closed

GitHub Actions: Deprecating save-state and set-output commands #8523

roykho opened this issue Feb 23, 2023 · 0 comments · Fixed by #9133
Assignees
Labels
Contributor Day - H1 2023 priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. tool: monorepo infrastructure Pull requests that update GitHub Actions code. type: cooldown Things that are queued for a cooldown period (assists with planning). type: technical debt This issue/PR represents/solves the technical debt of the project.

Comments

@roykho
Copy link
Member

roykho commented Feb 23, 2023

On May 31st GitHub is deprecating save-state and set-output commands which will impact some of our current actions workflow. Our workflows will start to fail. Ref. https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

This issue is to track the change over to using "{name}={value}" >> $GITHUB_STATE and "{name}={value}" >> $GITHUB_OUTPUT syntax. So far I have gathered several workflows that will require this change. This is based on the annotation of the actions output (for example https://github.com/woocommerce/woocommerce-blocks/actions/runs/4722359005). It is possible some of these may be used from an upstream dependency and if that's the case we still need to make sure we either contact the upstream provider if we're not the maintainers OR find an alternative dependency.

  • Check Modified Assets
  • Deploy to WordPress.org
  • Monitor TypeScript errors

This task can be a PR or at the very least a comment describing the investigation made and what dependencies are actually causing this warning with deprecated commands.

@roykho roykho added type: cooldown Things that are queued for a cooldown period (assists with planning). type: technical debt This issue/PR represents/solves the technical debt of the project. tool: monorepo infrastructure Pull requests that update GitHub Actions code. labels Feb 23, 2023
@danielwrobert danielwrobert added the priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. label Mar 31, 2023
@kmanijak kmanijak self-assigned this Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Contributor Day - H1 2023 priority: high The issue/PR is high priority—it affects lots of customers substantially, but not critically. tool: monorepo infrastructure Pull requests that update GitHub Actions code. type: cooldown Things that are queued for a cooldown period (assists with planning). type: technical debt This issue/PR represents/solves the technical debt of the project.
Projects
Development

Successfully merging a pull request may close this issue.

4 participants