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 56afa1a commit c09558e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@ jobs:
shell: bash
run: |
while read p; do
mkdir -p tmp
chmod 777 tmp
newFolder="$(echo "release/$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 )"
version="$(xmllint $p --xpath "//*[local-name()='RDF']/*[local-name()='Ontology']/*[local-name()='versionInfo']/text()" | sed s/v//g"
mkdir -p $version
chmod 777 $version
newFolder="$(echo "release/$p" | sed s/Ontology.owl//g | sed s/development\\///g | sed s/PD/pd-/g | tr '[:upper:]' '[:lower:]')"
ontology="$(echo $p | sed s/development\\///g)"
echo "$ontology -> $newFolder"
ls -la $newFolder
docker run --rm \
-v `pwd`/development:/usr/local/widoco/in:Z \
-v `pwd`/tmp:/usr/local/widoco/out:Z \
-v `pwd`/$version:/usr/local/widoco/out:Z \
ghcr.io/dgarijo/widoco:latest -ontFile in/$ontology -outFolder out -noPlaceHolderText
ls -la tmp
chmod -R 755 tmp
chown -R runner:docker tmp
mv tmp/* $newFolder
echo "$ontology -> $newFolder"
ls -la $newFolder/$version
ls -la $version
mv $version $newFolder
rmdir tmp
done < updated_files.txt
Expand Down
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 c09558e

Please sign in to comment.