Repository navigation
The Lost Castle In Darkmist Beta Release 20261006 #69
This file contains hidden or 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: Build Custom Database | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| build_db: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: sudo apt-get install sharutils | |
| - uses: actions/checkout@v2 | |
| - name: Build Custom Database JSON for MiSTer Downloader | |
| run: | | |
| set -euo pipefail | |
| curl --fail --location https://raw.githubusercontent.com/theypsilon/DB-Template_MiSTer/main/.github/build_db.py | python3 - --dry-run | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| DB_URL: "https://raw.githubusercontent.com/${{ github.repository }}/db/unprocessed-db.json" | |
| - name: Post-process and publish database | |
| run: python3 .github/postprocess_coinop_db.py | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |