Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub Actions for Node.js 16 Compatibility and Deprecated Commands #6798

Closed
gigincg opened this issue Dec 5, 2023 · 0 comments · Fixed by #6863
Closed

Update GitHub Actions for Node.js 16 Compatibility and Deprecated Commands #6798

gigincg opened this issue Dec 5, 2023 · 0 comments · Fixed by #6863
Assignees

Comments

@gigincg
Copy link
Member

gigincg commented Dec 5, 2023

Summary

We need to update our GitHub Actions workflows due to the deprecation of Node.js 12 and the set-output command. This update is crucial to maintain the efficiency and stability of our CI/CD pipelines.

Details

1. Update Node.js Version for GitHub Actions

GitHub Actions will be migrating from Node.js 12 to Node.js 16. This affects the following actions in our workflows:

  • actions/cache@v2
  • google-github-actions/setup-gcloud
  • google-github-actions/get-gke-credentials

Reference: GitHub Changelog

Action Required:

  • Ensure these actions are compatible with Node.js 16.
  • Update any related scripts or configurations.
  • Test the actions thoroughly to prevent any disruptions.

2. Migrate from set-output Command

The set-output command is deprecated and will be disabled. We need to migrate to using environment files.

Reference: GitHub Changelog

Action Required:

  • Identify and replace set-output usage in our workflows.
  • Implement the environment files method.
  • Validate the changes to ensure they work correctly.

Conclusion

These updates are essential to keep our CI/CD pipelines running smoothly. We need to address these changes promptly to avoid any potential disruptions in our workflow processes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants