Skip to content

Commit 494bbea

Browse files
committed
test
1 parent 98a4c32 commit 494bbea

File tree

2 files changed

+14
-17
lines changed

2 files changed

+14
-17
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,6 @@ on: [ push ]
44

55
jobs:
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

.github/workflows/test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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 }}

0 commit comments

Comments
 (0)