Skip to content

still fixing the bug #15

still fixing the bug

still fixing the bug #15

Workflow file for this run

# Basic ODK workflow
name: build
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
# pull_request:
# types: [closed]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "ontology_qc"
ontology_qc:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container: obolibrary/odkfull:v1.6
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: ODK update
run: cd src/ontology && odk.py update
- name: Build ontology
env:
CRYO_TOKEN: ${{ secrets.CRYO_TOKEN }}
DEFAULT_BRANCH: main
run: cd src/ontology && make refresh-imports all_assets ROBOT_ENV='ROBOT_JAVA_ARGS=-Xmx6G' -vvv
- name: Commit files # commit the src folder
uses: EndBug/add-and-commit@v9
with:
message: "updated ontology"
cwd: "." # Crucial: Look at the whole repo
add: "*.owl src/**/* --force" # Capture root owls and src folder
default_author: github_actions