This website uses cookies to ensure you get the best experience.
Learn more.
A composite action computes a digest in a step with id: hash. A consumer needs steps.scan.outputs.digest after using the action with id: scan. Which two configurations expose the value correctly? Select 2.
Published
- Have the hash step write digest to GITHUB_OUTPUT.
- Declare outputs.digest.value in the action metadata as ${{ steps.hash.outputs.digest }}.
- Expose it only as an environment variable in an unrelated later workflow job.
- Write the digest only to GITHUB_STEP_SUMMARY.
- Read needs.hash.outputs.digest from the consumer without defining a job named hash.
Comments — 0
Sign in to comment