-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (42 loc) · 1.11 KB
/
test.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
name: Test node binding generation
on:
workflow_dispatch:
push:
branches:
- nick-test
jobs:
build-artifacts:
name: Build node bindings
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup
uses: ./.github/actions/setup
- name: Build Native Artifacts
run: ./scripts/release.sh
shell: bash
- uses: actions/upload-artifact@v4
with:
name: build-artifacts-${{ github.sha }}-${{ matrix.os }}
path: |
packages/**/*.node
!packages/**/node_modules
retention-days: 1
download-artifacts:
needs: build-artifacts
runs-on: ubuntu-latest
steps:
- name: Download All Artifacts
uses: actions/download-artifact@v4
with:
path: my-artifact
pattern: build-artifacts-${{ github.sha }}-*
merge-multiple: true
- run: ls -R my-artifact