-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 845 Bytes
/
matrix.yml
File metadata and controls
35 lines (32 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: matrix operations
on: push
jobs:
node-version:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node_version: [6, 8, 10]
include:
- os: ubuntu-latest
node_version: 8
is_ubuntu_8: "true"
exclude:
- os: ubuntu-latest
node_version: 6
- os: macos-latest
node_version: 8
#max-parallel: 2
#fail-fast: true # allows to run second if first fails
runs-on: ${{ matrix.os }}
env:
IS_UBUNTU_8: ${{ matrix.is_ubuntu_8}}
steps:
- name: Log node version
run: node -v
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- name: Log node version
run: |
node -v
echo $IS_UBUNTU_8