Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hvarg committed Sep 11, 2024
1 parent 357c9d1 commit 5df515b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,17 @@ jobs:
- name: Create docs
shell: bash
run: |
mkdir test2
chmod 777 test2
while read p; do
newFolder="$(echo "$p" | sed s/Ontology.owl//g | sed s/development\\///g | sed s/PD/pd-/g | tr '[:upper:]' '[:lower:]')/$(xmllint $p --xpath "//*[local-name()='RDF']/*[local-name()='Ontology']/*[local-name()='versionInfo']/text()" | sed s/v//g )"
ontology="$(echo $p | sed s/development\\///g)"
mkdir -p $newFolder
chmod 777 $newFolder
echo "$ontology -> $newFolder"
docker run --rm \
-v `pwd`/development:/usr/local/widoco/in:Z \
-v `pwd`/test2:/usr/local/widoco/out:Z \
-v `pwd`/`$newFolder`:/usr/local/widoco/out:Z \
ghcr.io/dgarijo/widoco:latest -ontFile in/$ontology -outFolder out -noPlaceHolderText
ls -la $newFolder
done < updated_files.txt
# What files were changed:
Expand All @@ -68,6 +69,7 @@ jobs:
cat updated_files.txt
git status
git diff
tree
#env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion development/PDCognitiveOntology.owl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<!--
///////////////////////////////////////////////////////////////////////////////////////
//
//
// Annotation properties
//
///////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 5df515b

Please sign in to comment.