Skip to content

Extract Toxicology Tools from bio.tools #59

Extract Toxicology Tools from bio.tools

Extract Toxicology Tools from bio.tools #59

Workflow file for this run

name: Extract Toxicology Tools from bio.tools
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"
push:
paths:
- '*.groovy'
jobs:
bioschemas:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Install groovy
run: sudo apt install groovy
- name: Extract Bioschemas
run: |
groovy extractInfo.groovy | tee tools.ttl
- name: Commit Turtle
run: |
git config --global user.name 'GitHub Action'
git config --global user.email '[email protected]'
git add *.ttl
if git diff --exit-code --staged; then
echo "No changes"
else
git commit -m 'Extracted new data from bio.tools'
git push
fi