Skip to content

run BioModelsCache.py #6

run BioModelsCache.py

run BioModelsCache.py #6

name: run BioModelsCache.py
on:
schedule:
# runs the first day of every month
- cron: '0 0 1 * *'
workflow_dispatch:
inputs:
update_cache:
description: 'Update Biomodels cache'
required: true
default: 'true'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.11.6'
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: execute BioModelsCache.py script
run: python BioModelsCache.py
working-directory: $GITHUB_WORKSPACE/src