Skip to content

Java Edition 1.21

Java Edition 1.21 #93

Workflow file for this run

name: Java CI with Gradle
on:
push:
branches: [ "main/1.20.x", "next/1.20.x", "main/1.21.x", "next/1.21.x" ]
pull_request:
branches: [ "main/1.20.x", "next/1.20.x", "main/1.21.x", "next/1.21.x" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/[email protected]
with:
arguments: build
- uses: actions/upload-artifact@v4
with:
name: Fabric Artifacts
path: fabric/build/libs/