Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
StellaEggels committed Sep 16, 2024
2 parents 488a241 + 98300dd commit fdc210c
Show file tree
Hide file tree
Showing 4 changed files with 2,210 additions and 1,341 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/adjust_OWL_file.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: adjust_OWL_file

on:
push:
paths:
- DPBO.owl
workflow_dispatch:

jobs:
replace_URIs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: replace the URIs in the OWL file non-capitalized
run: |
sed -i 's|purl.obolibrary.org/obo/dpbo|purl.org/nfdi4plants/ontology/dpbo/dpbo|g' DPBO.owl
- name: replace the URIs in the OWL file capitalized
run: |
sed -i 's|purl.obolibrary.org/obo/DPBO|purl.org/nfdi4plants/ontology/dpbo/DPBO|g' DPBO.owl
- name: commit and push
uses: mikeal/publish-to-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: 'main'
Loading

0 comments on commit fdc210c

Please sign in to comment.