-
Notifications
You must be signed in to change notification settings - Fork 28
50 lines (46 loc) · 1.11 KB
/
release.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Release
on:
push:
branches:
- test
jobs:
build:
needs: create-release
strategy:
matrix:
platform: [
'linux-arm',
'linux-arm64',
'linux-x64',
]
pair: [
'node:10',
'node:12',
'node:14',
]
include:
- platform: 'linux-arm'
host-os: 'ubuntu-latest'
- platform: 'linux-arm64'
host-os: 'ubuntu-latest'
- platform: 'linux-x64'
host-os: 'ubuntu-latest'
- pair: 'node:10'
language: 'node'
version: '10'
- pair: 'node:12'
language: 'node'
version: '12'
- pair: 'node:14'
language: 'node'
version: '14'
runs-on: ${{ matrix.host-os }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.version }}
- name: Build adapter
run: |
./build.sh "${{ matrix.platform }}" "${{ matrix.language }}" "${{ matrix.version }}"