run BioModelsCache.py #7
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
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 |