File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
main/kotlin/io/github/typesafegithub/workflows/dsl
test/kotlin/io/github/typesafegithub/workflows/dsl Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ public class JobBuilder<OUTPUT : JobOutputs>(
148148 name = name,
149149 command = " GHWKT_RUN_STEP='${this .id} :$id ' '$sourceFilePath '" ,
150150 logic = logic,
151- env = env + mapOf (" GHWKT_GITHUB_CONTEXT_JSON" to " ${ ' $ ' } {{ toJSON(github) }}" ),
151+ env = env + mapOf (" GHWKT_GITHUB_CONTEXT_JSON" to " \$ {{ toJSON(github) }}" ),
152152 condition =
153153 conditionCheckingStep?.let {
154154 expr { " steps.${conditionCheckingStep.id} .outputs.$evaluationResultOutput " }
Original file line number Diff line number Diff line change @@ -243,6 +243,6 @@ class JobBuilderTest :
243243 }
244244
245245 // Then
246- workflow!! .jobs[0 ].environment?.url shouldBe " ${ ' $ ' } {{ steps.deployment.outputs.page_url }}"
246+ workflow!! .jobs[0 ].environment?.url shouldBe " \$ {{ steps.deployment.outputs.page_url }}"
247247 }
248248 })
You can’t perform that action at this time.
0 commit comments