Skip to content

Commit

Permalink
github actions: Update to latest spec parser
Browse files Browse the repository at this point in the history
Updates to the latest spec parser version. Note that the output file
names have changed

Signed-off-by: Joshua Watt <[email protected]>
  • Loading branch information
JPEWdev authored and nishakm committed Apr 11, 2024
1 parent 7b6a4bb commit e0c6266
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
- name: Generate JSON schema
run: |
shacl2code generate \
--input spdx-spec/docs/model/ontology.rdf.ttl \
--input spdx-spec/docs/model/spdx-model.ttl \
--input spdx-spec/docs/model/jsonld-annotations.ttl \
--context-url spdx-spec/docs/model/context.jsonld https://spdx.org/rdf/3.0.0/spdx-context.jsonld \
--context-url spdx-spec/docs/model/spdx-context.jsonld https://spdx.org/rdf/3.0.0/spdx-context.jsonld \
jsonschema \
--output spdx-spec/docs/model/schema.json
- name: Set git identity
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ mkdocs==1.5.3
json-schema-for-humans==0.47
mkdocs-pdf-export-plugin==0.5.10
mike==1.1.2
shacl2code==0.0.9
shacl2code==0.0.10
PyYAML>=6.0.1
2 changes: 1 addition & 1 deletion serialization/jsonld/annotations.ttl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@base <https://rdf.spdx.org/v3/> .
@base <https://spdx.org/rdf/3.0.0/terms/> .
@prefix sh-to-code: <https://jpewdev.github.io/shacl2code/schema#> .

<Core/Element> ;
Expand Down

0 comments on commit e0c6266

Please sign in to comment.