Skip to content

Bump Gradle (8.8 -> 8.10.2) #993

Bump Gradle (8.8 -> 8.10.2)

Bump Gradle (8.8 -> 8.10.2) #993

Workflow file for this run

name: Build
on: [ push, pull_request, workflow_dispatch ]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
check-latest: true
- name: Cache Gradle configuration
uses: actions/cache@v4
with:
path: |
~/.gradle
.gradle
build
fabric/.gradle
fabric/build
neoforge/.gradle
neoforge/build
key: ${{ runner.os }}-gradle-${{ hashFiles('**/LICENSE') }}
restore-keys: ${{ runner.os }}-gradle
- name: Delete old files
run: rm -rf build/libs fabric/build/libs neoforge/build/libs
- name: Build with Gradle
run: ./gradlew build
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: VanillaDisable-Artifacts
path: |
fabric/build/libs/*.jar
neoforge/build/libs/*-all.jar