Skip to content

Commit 2e00cea

Browse files
reineckepalemieux
andauthored
Added action to build documentation and json schema for validation (#2)
Co-authored-by: Pierre-Anthony Lemieux <[email protected]>
1 parent 1f04b5d commit 2e00cea

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: OpenTimelineIO-Specification
2+
3+
on:
4+
push:
5+
branches: [ 'main' ]
6+
pull_request:
7+
branches: [ 'main' ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- run: sudo apt-get install graphviz
15+
- uses: actions/checkout@v2
16+
with:
17+
submodules: 'recursive'
18+
- uses: actions/setup-node@v2
19+
with:
20+
node-version: '10'
21+
- run: |
22+
npm install
23+
npm run build
24+
- uses: actions/upload-artifact@v2
25+
with:
26+
name: documentation
27+
path: |
28+
build/
29+
!build/otio.schema.json
30+
- uses: actions/upload-artifact@v2
31+
with:
32+
name: json-schmea
33+
path: build/otio.schema.json

0 commit comments

Comments
 (0)