-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 1.04 KB
/
run.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
name: Run CI
on:
pull_request:
branches: [ main ]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Update Submodules
run: git submodule update --init --recursive
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.10.2'
- name: Generate Momentum Types
run: python3 src/panorama_jsdoc_gen.py panorama-dumps/momentum/js_scopes_latest.txt panorama-dumps/momentum/events_latest.txt __types_momentum.js
- name: Generate P2CE Types
run: python3 src/panorama_jsdoc_gen.py panorama-dumps/p2ce/js_scopes_latest.txt panorama-dumps/p2ce/events_latest.txt __types_p2ce.js
- name: Upload Momentum Artifact
uses: actions/upload-artifact@v2
with:
name: MomentumTypes
path: __types_momentum.js
- name: Upload P2CE Artifact
uses: actions/upload-artifact@v2
with:
name: P2CETypes
path: __types_p2ce.js