Country or region and language

    Choose your country or region and your language.

    Suggested for you

      All countries and regions

        Choose your character

        It shows in the top bar and on your profile. Change it any time.

        GitHub Actions course

        Outputs across jobs

        Opening GitHub Actions
        Your turn

        GitHub Actions outputs and needs

        The output path

        Passing a value between jobs needs more than a matching variable name. The producing step writes an output, the job exposes it, and a dependent job reads that output through needs. GitHub’s job-output guide shows each part.

        For a fictional package release, trace a value called version from the producing step to the consuming job. An id identifies the step. The job-level output maps the step output to a public name. The consumer declares its dependency and reads needs.build.outputs.version when build is the producer.

        Failure evidence

        If the consumer gets an empty value, inspect each mapping. A successful producing command doesn’t prove that the job exposed the expected output. And a dependency controls execution order, not whether the value is suitable for a release.

        The local exercises check selected output and dependency behavior. They don’t prove that a real build produced a valid package. Pair the output with the artifact handoff before making that claim.

        Your Work Gym account

        Save your progress and pick up on another device. Your browser's progress comes with you.

        New accounts get 12 hours of full access: every course, unit, project and exam. The clock starts when you open your first lesson.

        Plan your practice from a job ad or syllabus

        Have a referral code?

        or

        You can keep practicing without an account.

        Change your plan

        Checking the price

        Help and feedback

        Ask a question, tell us what is not working, or share an idea. We reply by email.

        What is it about?

        We use it only to reply to you.