Skip to content

Job output cannot be using when triggering workflow from job #26664

Answered by jsoref
afonsoc12 asked this question in Actions
Discussion options

You must be logged in to vote

I should probably explain, but in short:
afonsoc12/docker-cloudflared@ee01e19


A slightly longer explanation is certainly in order.

Literally, the google completion for github.event.inputs is github.event.inputs vs inputs.

GitHub supports events that have inputs:
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#providing-inputs
It handles that via github.event.inputs

It also supports giving (reusable) workflows inputs:
https://docs.github.com/en/actions/using-workflows/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow

In that case, inputs come via inputs

Note that this aligns with actions:
https://docs.github.com/en/actions/creating-actions/…

Replies: 8 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@longyarnz
Comment options

@jsoref
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants