From 3c091bc33c00ce273650f0188403d3547c06df69 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Feb 2026 03:38:45 +0000 Subject: [PATCH 1/2] Initial plan From ffc1f7498c5a4960ac3d64938dac8f8008fcea9b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Feb 2026 04:01:40 +0000 Subject: [PATCH 2/2] ci: add build workflow for both mods Co-authored-by: KasumiNova <48862050+KasumiNova@users.noreply.github.com> --- .github/workflows/build-mods.yml | 52 ++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/workflows/build-mods.yml diff --git a/.github/workflows/build-mods.yml b/.github/workflows/build-mods.yml new file mode 100644 index 0000000..9d7c957 --- /dev/null +++ b/.github/workflows/build-mods.yml @@ -0,0 +1,52 @@ +name: Build Mods + +on: + push: + branches: ["master"] + pull_request: + workflow_dispatch: + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 21 + cache: gradle + + - name: Test PrototypeMachinery + run: ./gradlew test --no-daemon + + - name: Build PrototypeMachinery + run: ./gradlew build -x test --no-daemon + + - name: Test Modern Backend + working-directory: modern-backend + run: ./gradlew test -Pjava_toolchain=21 --no-daemon + + - name: Build Modern Backend + working-directory: modern-backend + run: ./gradlew build -x test -Pjava_toolchain=21 --no-daemon + + - name: Upload PrototypeMachinery artifacts + uses: actions/upload-artifact@v4 + with: + name: PrototypeMachinery + path: build/libs/*.jar + if-no-files-found: error + + - name: Upload Modern Backend artifacts + uses: actions/upload-artifact@v4 + with: + name: PrototypeMachinery-ModernBackend + path: modern-backend/build/libs/*.jar + if-no-files-found: error