This website uses cookies to ensure you get the best experience.
Learn more.
A build job computes a package version. A separate publish job needs that version on another runner. Which two steps establish the supported output chain? Select 2.
Published
- Declare needs: build on publish and read ${{ needs.build.outputs.version }}.
- Assume the working directory is automatically shared between build and publish.
- Read steps.producer.outputs.version directly from publish.
- Write version to GITHUB_ENV in build and read env.version in publish without a job output.
- Give the producing step an id, write version to GITHUB_OUTPUT, and map it to build.outputs.version.
Comments — 0
Sign in to comment