File tree 3 files changed +12
-53
lines changed
3 files changed +12
-53
lines changed Original file line number Diff line number Diff line change 9
9
name : get-matrix
10
10
outputs :
11
11
matrix : ${{ steps.set-matrix.outputs.matrix }}
12
+ has_refs : ${{ steps.set-matrix.outputs.has_refs }}
12
13
steps :
13
14
- name : Checkout repository
14
15
uses : actions/checkout@v3
29
30
runs-on : ubuntu-latest
30
31
name : info
31
32
steps :
32
- - name : Show outputs (raw)
33
+ - name : Show outputs
33
34
run : |
34
- echo ${{ needs.get-matrix.outputs.matrix }}
35
- - name : Show outputs (json)
36
- run : |
37
- echo ${{ fromJson(needs.get-matrix.outputs.matrix) }}
38
-
39
- build :
40
- needs : [get-matrix]
41
- runs-on : ubuntu-latest
42
- name : build
43
- strategy :
44
- fail-fast : false
45
- matrix :
46
- refs :
47
- - ${{ fromJson(needs.get-matrix.outputs.matrix) }}
48
- steps :
49
- - name : " [SETUP] Checkout repository (ref: ${{ matrix.refs }})"
50
- uses : actions/checkout@v3
51
- with :
52
- fetch-depth : 0
53
- ref : ${{ matrix.refs }}
54
- - name : Show git
55
- run : |
56
- git log | head -20
35
+ echo 'matrix=${{ needs.get-matrix.outputs.matrix }}'
36
+ echo 'has_refs=${{ needs.get-matrix.outputs.has_refs }}'
Original file line number Diff line number Diff line change 9
9
name : get-matrix
10
10
outputs :
11
11
matrix : ${{ steps.set-matrix.outputs.matrix }}
12
+ has_refs : ${{ steps.set-matrix.outputs.has_refs }}
12
13
steps :
13
14
- name : Checkout repository
14
15
uses : actions/checkout@v3
@@ -28,12 +29,10 @@ jobs:
28
29
runs-on : ubuntu-latest
29
30
name : info
30
31
steps :
31
- - name : Show outputs (raw)
32
+ - name : Show outputs
32
33
run : |
33
- echo ${{ needs.get-matrix.outputs.matrix }}
34
- - name : Show outputs (json)
35
- run : |
36
- echo ${{ fromJson(needs.get-matrix.outputs.matrix) }}
34
+ echo 'matrix=${{ needs.get-matrix.outputs.matrix }}'
35
+ echo 'has_refs=${{ needs.get-matrix.outputs.has_refs }}'
37
36
38
37
build :
39
38
needs : [get-matrix]
Original file line number Diff line number Diff line change 9
9
name : get-matrix
10
10
outputs :
11
11
matrix : ${{ steps.set-matrix.outputs.matrix }}
12
+ has_refs : ${{ steps.set-matrix.outputs.has_refs }}
12
13
steps :
13
14
- name : Checkout repository
14
15
uses : actions/checkout@v3
28
29
runs-on : ubuntu-latest
29
30
name : info
30
31
steps :
31
- - name : Show outputs (raw)
32
+ - name : Show outputs
32
33
run : |
33
- echo ${{ needs.get-matrix.outputs.matrix }}
34
- - name : Show outputs (json)
35
- run : |
36
- echo ${{ fromJson(needs.get-matrix.outputs.matrix) }}
37
-
38
- build :
39
- needs : [get-matrix]
40
- runs-on : ubuntu-latest
41
- name : build
42
- strategy :
43
- fail-fast : false
44
- matrix :
45
- refs :
46
- - ${{ fromJson(needs.get-matrix.outputs.matrix) }}
47
- steps :
48
- - name : " [SETUP] Checkout repository (ref: ${{ matrix.refs }})"
49
- uses : actions/checkout@v3
50
- with :
51
- fetch-depth : 0
52
- ref : ${{ matrix.refs }}
53
- - name : Show git
54
- run : |
55
- git log | head -20
34
+ echo 'matrix=${{ needs.get-matrix.outputs.matrix }}'
35
+ echo 'has_refs=${{ needs.get-matrix.outputs.has_refs }}'
You can’t perform that action at this time.
0 commit comments