Add offline network preflight and CI world config artifacts

This commit is contained in:
unimatrixgit 2026-10-18 14:45:56 +02:00
commit 48ec41c4f9

23
.github/workflows/network-preflight.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: Network configuration preflight
on:
push:
paths:
- 'network/**'
- 'DuneTerrain/src/main/resources/config.yml'
- '.github/workflows/network-preflight.yml'
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Check inventory and build world config ZIPs
run: python3 network/preflight.py --check-worlds
- name: Upload world configuration packages
uses: actions/upload-artifact@v4
with:
name: dune-world-configs
path: network/generated-worlds/*-world-config.zip