File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 42
42
with :
43
43
images-artifact-name : ${{ needs.build-targets.outputs.images-artifact-name }}
44
44
45
+ pass :
46
+ if : always()
47
+ needs :
48
+ - changed-files
49
+ - unit-test
50
+ - integration-test
51
+ - e2e-test
52
+ name : All Checks Pass
53
+ runs-on : ubuntu-20.04
54
+ steps :
55
+ - run : |
56
+ result="${{ needs.changed-files.result }}"
57
+ if [[ ! $result == "success" ]]; then
58
+ echo "changed-files has failed"
59
+ exit 1
60
+ fi
61
+
62
+ result="${{ needs.unit-test.result }}"
63
+ if [[ ! ($result == "success" || $result == "skipped") ]]; then
64
+ echo "unit-test has failed"
65
+ exit 1
66
+ fi
67
+
68
+ result="${{ needs.integration-test.result }}"
69
+ if [[ ! ($result == "success" || $result == "skipped") ]]; then
70
+ echo "integration-test has failed"
71
+ exit 1
72
+ fi
73
+
74
+ result="${{ needs.e2e-test.result }}"
75
+ if [[ ! ($result == "success" || $result == "skipped") ]]; then
76
+ echo "e2e-test has failed"
77
+ exit 1
78
+ fi
79
+
45
80
release :
46
81
runs-on : ubuntu-20.04
47
82
needs : [calculate-tag, build-targets]
You can’t perform that action at this time.
0 commit comments