Skip to content

CI

CI #16

Workflow file for this run

name: CI
on:
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: windows-latest
defaults:
run:
working-directory: ./script
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install requirements
run: pip install -r requirements.txt
- name: Download depots and gamedata
run: python3 ./download.py
- name: Check gamedata
run: python3 ./gamedata.py
- name: Update gamedata check status
run: |
git config --local user.name 'github-actions[bot]'
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
git add ../README.md
git commit -m 'chore: update gamedata check'
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}