File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 28
28
outputs : |-
29
29
result: ${{ matrix.target }}
30
30
31
+ - uses : nick-fields/assert-action@v1
32
+ with :
33
+ expected : ${{ matrix.target }}
34
+ actual : ${{ fromJson(steps.writer.outputs.result).result }}
35
+
31
36
test :
32
37
runs-on : ubuntu-latest
33
38
continue-on-error : true
51
56
expected : ' 2'
52
57
actual : " ${{ needs.test.outputs.result }}"
53
58
59
+
54
60
teardown :
55
61
runs-on : ubuntu-latest
56
62
needs : [assert]
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ inputs:
17
17
outputs :
18
18
result :
19
19
description : " Outputs result"
20
- value : " ${{ steps.write .outputs.result }}"
20
+ value : " ${{ steps.proxy .outputs.result }}"
21
21
runs :
22
22
using : " composite"
23
23
steps :
35
35
actual : " ${{ inputs.matrix-key }}"
36
36
comparison : notEqual
37
37
38
+ -
uses :
cloudposse/[email protected]
39
+ id : proxy
40
+ with :
41
+ query : .
42
+ config : |-
43
+ result:
44
+ ${{ inputs.outputs }}
45
+
38
46
-
uses :
cloudposse/[email protected]
39
47
id : write
40
48
with :
You can’t perform that action at this time.
0 commit comments