Skip to content

Commit e0c6266

Browse files
JPEWdevnishakm
authored andcommitted
github actions: Update to latest spec parser
Updates to the latest spec parser version. Note that the output file names have changed Signed-off-by: Joshua Watt <[email protected]>
1 parent 7b6a4bb commit e0c6266

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/publish_v3.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ jobs:
3737
- name: Generate JSON schema
3838
run: |
3939
shacl2code generate \
40-
--input spdx-spec/docs/model/ontology.rdf.ttl \
40+
--input spdx-spec/docs/model/spdx-model.ttl \
4141
--input spdx-spec/docs/model/jsonld-annotations.ttl \
42-
--context-url spdx-spec/docs/model/context.jsonld https://spdx.org/rdf/3.0.0/spdx-context.jsonld \
42+
--context-url spdx-spec/docs/model/spdx-context.jsonld https://spdx.org/rdf/3.0.0/spdx-context.jsonld \
4343
jsonschema \
4444
--output spdx-spec/docs/model/schema.json
4545
- name: Set git identity

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ mkdocs==1.5.3
22
json-schema-for-humans==0.47
33
mkdocs-pdf-export-plugin==0.5.10
44
mike==1.1.2
5-
shacl2code==0.0.9
5+
shacl2code==0.0.10
66
PyYAML>=6.0.1

serialization/jsonld/annotations.ttl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@base <https://rdf.spdx.org/v3/> .
1+
@base <https://spdx.org/rdf/3.0.0/terms/> .
22
@prefix sh-to-code: <https://jpewdev.github.io/shacl2code/schema#> .
33

44
<Core/Element> ;

0 commit comments

Comments
 (0)