MC/.github/workflows/network.yml
unimatrix d988ea2983 Add native crossplay menus and organic Arrakis highlands
Recovered from the attached four-commit source patch (original tip 1686291). Includes native Java/Bedrock menus, minimal Essentials, organic highlands, finite Dense Spice, desert villages, Harkonnen fortress and three personal highland sietches. Original validation reports 50 passing tests on Java 21/Paper 1.21.8. Live Paper/Velocity/Bedrock/ViaVersion staging remains pending. Existing world, configuration and player data must be preserved.
2026-10-21 17:12:41 +02:00

52 lines
2.1 KiB
YAML

name: Package DuneRealms Velocity Network
on:
workflow_dispatch:
push:
branches: [main, "feature/native-gui-1.21.8"]
paths:
- 'network/**'
- 'gui-common/**'
- 'tools/**'
- 'DuneLobby/**'
- 'DuneTerrain/**'
- 'DuneEss/**'
- 'DuneNPC/**'
- 'DuneRealms-minecraft-only/**'
- '.github/workflows/network.yml'
jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '8.14'
- name: Build plugins
run: |
set -e
mkdir -p built-plugins
for project in DuneRealms-minecraft-only DuneTerrain DuneNPC DuneEss DuneLobby; do
(cd "$project" && gradle clean build)
done
cp DuneRealms-minecraft-only/build/libs/*.jar built-plugins/DuneCore.jar
cp DuneTerrain/build/libs/*.jar built-plugins/DuneTerrain.jar
cp DuneNPC/build/libs/*.jar built-plugins/DuneNPC.jar
cp DuneEss/build/libs/*.jar built-plugins/DuneRealms-Essentials.jar
cp DuneLobby/build/libs/*.jar built-plugins/DuneLobby.jar
- name: Download verified crossplay plugins
run: |
python3 tools/download-crossplay.py built-crossplay
curl --fail --location --silent --show-error https://github.com/Foulest/Vault/releases/download/2.5.0/Vault-2.5.0.jar --output built-crossplay/universal/Vault-2.5.0.jar
echo "3efb1c893d35807c0f3945068858a96af0f131020eee37545bdddb330044b2d9 built-crossplay/universal/Vault-2.5.0.jar" | sha256sum --check --strict
curl --fail --location --silent --show-error https://raw.githubusercontent.com/Foulest/Vault/2.5.0/LICENSE --output built-crossplay/Vault-LICENSE.txt
- name: Package six servers and Velocity config
run: python3 network/package.py
- uses: actions/upload-artifact@v4
with:
name: DuneRealms-Velocity-Network
path: DuneRealms-Velocity-Network.zip
if-no-files-found: error