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

Use GITHUB_OUTPUT instead of GITHUB_ENV #5293

Merged
merged 4 commits into from
Dec 17, 2024

Conversation

sgibson91
Copy link
Member

GITHUB_OUTPUT is defined per job, as opposed to GITHUB_ENV that is global. By making this switch, we can be more flexible with reusing variable names

…UB_ENV

We get a GITHUB_OUTPUT file per job, so we can feel confident that we are not overwriting variables written to the environment file
This way we can avoid overwriting variables in the global environment file

This comment was marked as off-topic.

@sgibson91 sgibson91 added the deployer:skip-deploy Skips deployment of anything (support, staging, prod) label Dec 17, 2024
@sgibson91
Copy link
Member Author

I've confirmed this behaviour with a test workflow: https://github.com/sgibson91/testing-gh-actions/actions/workflows/multijob-output-file.yaml

@sgibson91 sgibson91 merged commit f7cf459 into 2i2c-org:main Dec 17, 2024
40 checks passed
@sgibson91 sgibson91 deleted the github-outputs branch December 17, 2024 20:06
Copy link

🎉🎉🎉🎉

Monitor the deployment of the hubs here 👉 https://github.com/2i2c-org/infrastructure/actions/runs/12380566384

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployer:skip-deploy Skips deployment of anything (support, staging, prod)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant