forked from unimatrix/web
Add offline network preflight and CI world config artifacts
This commit is contained in:
parent
5434c64d39
commit
48ec41c4f9
1 changed files with 23 additions and 0 deletions
23
.github/workflows/network-preflight.yml
vendored
Normal file
23
.github/workflows/network-preflight.yml
vendored
Normal 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
|
||||
Loading…
Reference in a new issue

Staff