Skip to content

Can I reference input events in the "post-if" condition in GitHub Action? #45421

Answered by PaulRBerg
PaulRBerg asked this question in Actions
Discussion options

You must be logged in to vote

Yup, looks like this is doable.

I just had to delete the braces {{ }}:

post-if: "github.event.inputs.cache"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PaulRBerg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question
1 participant