File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88jobs :
99
1010 build :
11- uses : ./.github/workflows/build.yml
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - name : Set up Python
16+ uses : actions/setup-python@v5
17+ with :
18+ python-version : ' 3.12'
19+
20+ - name : Install dependencies
21+ run : |
22+ python -m pip install --upgrade pip
23+ pip install -r tools/python/requirements.txt
24+
25+ - name : Build ontology assets
26+ run : |
27+ bash ./tools/bash/build/create-combined-turtle.sh src/imaging-ontology/
28+ python ./tools/python/build/create-schemas.py --input build/ontology_combined.ttl --output build/locales/en/schema.json
29+
30+ - name : Upload schema bundle
31+ uses : actions/upload-artifact@v4
32+ if : ${{ github.ref == 'refs/tags/v*' }} # Ensure artifact is uploaded only for tag pushes
33+ with :
34+ name : schema-bundle
35+ path : build/*
1236
1337 checks :
1438 uses : ./.github/workflows/checks.yml
15- needs : build
39+ needs : build
1640
1741 make_release :
1842 runs-on : ubuntu-latest
19- needs :
20- - checks
43+ needs : checks
2144
2245 steps :
2346 - uses : actions/checkout@v4
2447
25- - name : get schema assets
48+ - name : Get schema assets
2649 uses : actions/download-artifact@v4.1.8
2750 with :
2851 name : schema-bundle
2952 path : build/
3053
31- - name : create release
54+ - name : Create release
3255 uses : softprops/action-gh-release@v2
3356 with :
3457 files : build/*
You can’t perform that action at this time.
0 commit comments