This website uses cookies to ensure you get the best experience.
Learn more.
A Linux build job has many steps. One step calculates BUILD_DIR and wants later steps in that same job to receive it as an environment variable. Which command pattern is appropriate?
Published
- Append BUILD_DIR=the-value to the file identified by GITHUB_ENV.
- Write BUILD_DIR into the runner temporary directory with no subsequent read step.
- Append BUILD_DIR to GITHUB_STEP_SUMMARY.
- Export BUILD_DIR in a shell process and rely on that export for all subsequent steps.
Comments — 0
Sign in to comment