mirror of
https://github.com/Aizistral-Studios/No-Chat-Reports.git
synced 2026-11-29 22:22:09 -05:00
* 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>
40 lines
1.3 KiB
YAML
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/
|