File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 1919 - id : ' step-1'
2020 name : ' Execute script'
2121 run : ' rm '' .github/workflows/test-workflow.yaml'' && '' .github/workflows/test-workflow.main.kts'' '
22+ - id : ' start-server'
23+ if : " steps.step-1.outcome != 'success'"
24+ run : ' docker run krzema12/github-workflows-kt-jit-binding-server &'
25+ - id : ' wait-for-server'
26+ if : " steps.step-1.outcome != 'success'"
27+ run : ' sleep 30'
28+ - id : ' replace-server-url-in-script'
29+ if : " steps.step-1.outcome != 'success'"
30+ run : " sed -i -e 's/https:\/\/ bindings.krzeminski.it/http:\/\/ localhost:8080/g' .github/workflows/test-workflow.main.kts"
31+ - id : ' execute-script-again'
32+ if : " steps.step-1.outcome != 'success'"
33+ run : ' rm '' .github/workflows/test-workflow.yaml'' && '' .github/workflows/test-workflow.main.kts'' '
2234 - id : ' step-2'
2335 name : ' Consistency check'
2436 run : ' git diff --exit-code '' .github/workflows/test-workflow.yaml'' '
You can’t perform that action at this time.
0 commit comments