File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 - name : Check for ontology file
3737 id : check
3838 run : |
39- ONTOLOGY_FILE=$(find src/ontology/ -name "*-full .owl" -type f | head -1)
39+ ONTOLOGY_FILE=$(find src/ontology/ -name "*-base .owl" -type f | head -1)
4040 if [ -z "$ONTOLOGY_FILE" ]; then
41- echo "No *-full .owl file found in src/ontology/ directory."
41+ echo "No *-base .owl file found in src/ontology/ directory."
4242 echo "exists=false" >> $GITHUB_OUTPUT
4343 else
4444 echo "Found ontology file: $ONTOLOGY_FILE"
Original file line number Diff line number Diff line change 7575 # Replace uribase_suffix value
7676 sed -i "s/^uribase_suffix:.*/uribase_suffix: ${{ github.event.inputs.uribase_suffix }}/" "$CONFIG_FILE"
7777
78+ # Replace uribase value
79+ sed -i "s/^uribase_suffix:.*/uribase_suffix: https://w3id.org/pmd/ao/${{ github.event.inputs.uribase_suffix }}/" "$CONFIG_FILE"
80+
7881 # Replace github_org value
7982 sed -i "s/^github_org:.*/github_org: $GITHUB_ORG/" "$CONFIG_FILE"
8083
Original file line number Diff line number Diff line change @@ -26,4 +26,4 @@ Please use this GitHub repository's [Issue tracker](https://github.com/materiald
2626
2727## Acknowledgements
2828
29- This ontology repository was created using the [ Ontology Development Kit (ODK)] ( https://github.com/INCATools/ontology-development-kit ) .
29+ This ontology repository was created using the [ Ontology Development Kit (ODK)] ( https://github.com/INCATools/ontology-development-kit ) .
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ title: "My Application Ontology"
33github_org : materialdigital
44git_main_branch : main
55repo : heat-treatment-application-ontology
6- uribase : https://w3id.org/pmd/ao
6+ uribase : https://w3id.org/pmd/ao/hto
77uribase_suffix : hto
88
99release_artefacts :
You can’t perform that action at this time.
0 commit comments