🔥 3-day streak
GitHub Actions (GH-200)55 / 142
Question 55 of 142
In a single job, a build step generates a version string and writes it with `echo "VERSION=1.4.2" >> "$GITHUB_ENV"`. A later step in the same job needs to reference this value, and a downstream job listed in `needs` must also consume it. The engineer sets `id: build` on the writing step. Which approach correctly makes the value available to both the later step in the same job AND the downstream job?
Reviewed for accuracy · Report an issueNext question