Skip to content

Commit

Permalink
Migrate to w3id (#4)
Browse files Browse the repository at this point in the history
* Add rickview link

* Add docker-compose.yml

* Update rickview namespace

* Update iris

* Use widoco to create release artifacts
  • Loading branch information
ChristophB authored Jul 5, 2024
1 parent c51053d commit f4d38ee
Show file tree
Hide file tree
Showing 4 changed files with 232 additions and 184 deletions.
37 changes: 33 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,46 @@ on:
jobs:
release:
runs-on: ubuntu-latest
container: obolibrary/odklite
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v4
- name: Generate artifacts
run: robot convert --input cop.owl --output cop.ttl
- uses: svenstaro/upload-release-action@v2
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Download widoco
run: wget -q -O widoco.jar https://github.com/dgarijo/Widoco/releases/download/v1.4.25/widoco-1.4.25-jar-with-dependencies_JDK-17.jar
- name: Compile documentation
run: |
java -jar widoco.jar \
-ontFile cop.owl \
-outFolder output \
-includeAnnotationProperties \
-rewriteAll \
-includeImportedOntologies \
-uniteSections \
-noPlaceHolderText
cp output/ontology.* .
ls ontology.* | sed -e 'p;s/^ontology/cop/' | xargs -n2 mv
- name: Upload release artifacts
uses: svenstaro/upload-release-action@v2
with:
tag: ${{ github.ref }}
file: cop.*
file_glob: true
overwrite: true
- name: Deploy version documentation
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
destination_dir: release/${{ github.event.release.tag_name }}
- name: Deploy latest documentation
if: ! ${{ github.event.release.prerelease }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
destination_dir: release/latest
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

The Core Ontology of Phenotyping (COP) defines core entities and their relationships that are relevant for modelling phenotypic knowledge and developing phenotyping software.

Browse Ontology: [RDF Browser](https://top.imise.uni-leipzig.de/ontology/cop/)

![COP overview](images/cop.png)

## Contribution and Development
Expand Down
Loading

0 comments on commit f4d38ee

Please sign in to comment.