File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build ontology assets
2+
3+ on :
4+ workflow_dispatch :
5+ # workflow_call:
6+ # inputs:
7+ # is_release:
8+ # required: true
9+ # type: boolean
10+
11+ jobs :
12+
13+ build :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+
18+ - uses : actions/checkout@v4
19+
20+ - name : Set up Python
21+ uses : actions/setup-python@v5
22+ with :
23+ python-version : ' 3.12'
24+
25+ - name : Install dependencies
26+ run : |
27+ python -m pip install --upgrade pip
28+ pip install -r tools/python/requirements.txt
29+
30+ - name : build
31+ run : |
32+ bash tools/bash/build/create-combined-turtle.sh
33+ python tools/python/build/create-schemas.py src/imaging-ontology/ build/
34+
35+ - name : upload assets in artifacts
36+ uses : actions/upload-artifact@v4
37+ if : ${{ inputs.is_release }}
38+ with :
39+ name : schema-bundle
40+ path : build/*
You can’t perform that action at this time.
0 commit comments