File tree Expand file tree Collapse file tree 2 files changed +14
-17
lines changed Expand file tree Collapse file tree 2 files changed +14
-17
lines changed Original file line number Diff line number Diff line change @@ -4,23 +4,6 @@ on: [ push ]
44
55jobs :
66
7- job1 :
8- runs-on : ubuntu-latest
9- # Map a step output to a job output
10- steps :
11- - id : step1
12- run : echo "::set-output name=test::hello"
13- - id : step2
14- run : echo "::set-output name=test::world"
15- outputs :
16- output1 : ${{ steps.step1.outputs.test }}
17- output2 : ${{ steps.step2.outputs.test }}
18- job2 :
19- runs-on : ubuntu-latest
20- needs : job1
21- steps :
22- - run : echo ${{needs.job1.outputs.output1}} ${{needs.job1.outputs.output2}}
23-
247 linux :
258 name : ' Linux'
269 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1+
2+ on : [ push ]
3+
4+ jobs :
5+ job1 :
6+ runs-on : ${{ matrix.os }}
7+ strategy :
8+ matrix :
9+ os : [ubuntu-18.04, ubuntu-20.04]
10+ node : [10, 12, 14]
11+ steps :
12+ - uses : actions/setup-node@v2
13+ with :
14+ node-version : ${{ matrix.node }}
You can’t perform that action at this time.
0 commit comments