Skip to content

run BioModelsCache.py #7

run BioModelsCache.py

run BioModelsCache.py #7

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: false
default: 'false'
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