Skip to content

Add support for Minecraft 1.21.1 #95

Add support for Minecraft 1.21.1

Add support for Minecraft 1.21.1 #95

Workflow file for this run

name: Build with Gradle
on:
push:
branches:
- "*"
paths-ignore:
- "README"
- "README.md"
- "LICENSE"
- "LICENSE.md"
- ".gitignore"
- ".gitattributes"
pull_request:
branches:
- "*"
paths-ignore:
- "README.md"
- "LICENSE"
- "LICENSE.md"
- ".gitignore"
- ".gitattributes"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Build with Gradle
steps:
- uses: actions/checkout@v2
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: "21"
distribution: "temurin"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build --no-daemon
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: build
path: |
build/libs/*.jar
versions/*/build/libs/*.jar
if-no-files-found: "error"