forked from nfdi4plants/nfdi4plants_ontology
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/StellaEggels/nfdi4plants_on…
- Loading branch information
Showing
4 changed files
with
2,210 additions
and
1,341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
Oops, something went wrong.