Files
libretro/.github/workflows/update-db.yml
Abdessamad Derraz 13c561888d v2: automated BIOS platform with full pipeline
Reorganized 6 branches into bios/Manufacturer/Console/.
Scrapers for RetroArch, Batocera, Recalbox, and libretro core-info.
Platform-aware verification replicating native logic per platform.
Pack generation with dedup, alias resolution, variant support.
CI/CD: weekly auto-scrape, auto-release, PR validation.
Large files (>50MB) stored as GitHub Release assets, auto-fetched at build time.
2026-03-17 10:54:39 +01:00

42 lines
1023 B
YAML

name: Update Database
on:
push:
branches: [main]
paths:
- "bios/**"
workflow_dispatch:
permissions:
contents: write
concurrency:
group: update-db
cancel-in-progress: true
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install dependencies
run: pip install pyyaml
- name: Generate database
run: python scripts/generate_db.py --bios-dir bios --output database.json
- name: Generate README and CONTRIBUTING
run: python scripts/generate_readme.py --db database.json --platforms-dir platforms
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: "chore: update database and documentation"
file_pattern: "database.json README.md CONTRIBUTING.md"
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"