Files
tibequadorianandAizistral b79cd15ce1 Update to 26.1 (#545)
* Start porting to 26.1

Update to Gradle 9

* Delete AdvancedImageButton, AdvancedTooltip, AdvancedWidgetTooltipHolder

* MixinJoinMultiplayerScreen: Replace AdvancedImageButton

* MixinPlayerEntry: Replace AdvancedImageButton

* MixinChatScreen: Replace AdvancedImageButton

* Fix class tweaker

* Update github workflows

* Delete SwitchableSprites

* Update ModMenu version to 18.0.0-alpha.8

* Update Mixin Java compatibility levels to Java 25

---------

Co-authored-by: Aizistral <admin@aizistral.com>
2026-03-28 01:03:34 +01:00

40 lines
1.3 KiB
YAML

# Automatically build the project and run any configured tests for every push
# and submitted pull request. This can help catch issues that only occur on
# certain platforms or Java versions, and provides a first line of defence
# against bad commits.
name: Build
on: [pull_request, push]
jobs:
build:
strategy:
matrix:
java: [ 25 ]
os: [ubuntu-22.04, windows-2022]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Validate gradle wrapper
uses: gradle/actions/wrapper-validation@v5
- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Build the mod
run: ./gradlew build
- name: Upload build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '25' }} # Only upload artifacts from one OS and required JDK.
uses: actions/upload-artifact@v4
with:
name: Artifacts
path: |
build/libs/
forge/build/libs/
neoforge/build/libs/