Skip to content

update

update #10

Workflow file for this run

name: Scheduled Retraining
on:
schedule:
# every Sunday at 02:00 UTC
- cron: '0 2 * * 0'
jobs:
retrain:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with: python-version: '3.11'

Check failure on line 16 in .github/workflows/retrain.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/retrain.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
- name: Install deps
run: |
python -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
- name: Run retraining
run: |
source venv/bin/activate
python src/model_training/retrain.py --epochs 1
- name: Upload adapter artifact
uses: actions/upload-artifact@v4
with:
name: opsai-lora-adapter-${{ github.run_id }}
path: |
models/adapters/*