Skip to content

Commit 6421d3e

Browse files
committed
Try always
1 parent 53c864d commit 6421d3e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/test-workflow.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,20 @@ jobs:
2020
name: 'Execute script'
2121
run: 'rm ''.github/workflows/test-workflow.yaml'' && ''.github/workflows/test-workflow.main.kts'''
2222
- id: 'start-server'
23-
if: "steps.step-1.outcome != 'success'"
23+
if: "always()"
24+
# if: "steps.step-1.outcome != 'success'"
2425
run: 'docker run krzema12/github-workflows-kt-jit-binding-server &'
2526
- id: 'wait-for-server'
26-
if: "steps.step-1.outcome != 'success'"
27+
if: "always()"
28+
# if: "steps.step-1.outcome != 'success'"
2729
run: 'sleep 30'
2830
- id: 'replace-server-url-in-script'
29-
if: "steps.step-1.outcome != 'success'"
31+
if: "always()"
32+
# if: "steps.step-1.outcome != 'success'"
3033
run: sed -i -e 's/https:\/\/bindings.krzeminski.itt/http:\/\/localhost:8080/g' .github/workflows/test-workflow.main.kts
3134
- id: 'execute-script-again'
32-
if: "steps.step-1.outcome != 'success'"
35+
if: "always()"
36+
# if: "steps.step-1.outcome != 'success'"
3337
run: 'rm ''.github/workflows/test-workflow.yaml'' && ''.github/workflows/test-workflow.main.kts'''
3438
- id: 'step-2'
3539
name: 'Consistency check'

0 commit comments

Comments
 (0)