You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The access could be even type-unsafe for now (just strings).
Do you have an example usage?
run {
println(inputs["myInput"])
}
Is there a workaround for not having this feature? If yes, please describe it.
I'm currently doing something pretty ugly:
val githubContextJson =System.getenv("GHWKT_GITHUB_CONTEXT_JSON")!!val version:String=Json.parseToJsonElement(githubContextJson)
.jsonObject["event"]
?.jsonObject?.get("inputs")
?.jsonObject?.get("version")
?.jsonPrimitive?.contentOrNull
?: error("Version couldn't be extracted from input")
The text was updated successfully, but these errors were encountered:
What feature do you need?
https://docs.github.com/en/enterprise-cloud@latest/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#inputs-context
The access could be even type-unsafe for now (just strings).
Do you have an example usage?
Is there a workaround for not having this feature? If yes, please describe it.
I'm currently doing something pretty ugly:
The text was updated successfully, but these errors were encountered: