Skip to content

Generate VCMI Update JSON #7

Generate VCMI Update JSON

Generate VCMI Update JSON #7

Workflow file for this run

name: Generate VCMI Update JSON
on:
schedule:
- cron: '0 0 * * *' # every day at 00:00 UTC
workflow_dispatch:
jobs:
generate-json:
runs-on: ubuntu-latest
steps:
- name: Checkout develop branch
uses: actions/checkout@v4
- name: Install dependencies
run: pip3 install pefile
- name: Generate JSON files
run: python3 .github/generate_update.py
- name: Commit and push
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: "Auto-update VCMI update JSON files"
add: |
vcmi-develop.json
vcmi-beta.json
vcmi-stable.json
push: true