Skip to content

Update Dependencies to Support Minecraft 1.21.3 #77

Update Dependencies to Support Minecraft 1.21.3

Update Dependencies to Support Minecraft 1.21.3 #77

Workflow file for this run

# Builds and tests the project
name: Build
# On pull requests
on:
pull_request:
paths:
- '**/src/**'
- '**/build.gradle'
- '**/gradle.properties'
- '**/settings.gradle'
- .github/workflows/build.yml
- LICENCE.txt
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: ✨ Checkout repository
uses: actions/checkout@v4
- name: ☕ Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: temurin
- name: 🐘 Set up Gradle
uses: gradle/gradle-build-action@v2
- name: 🧪 Run tests
run: ./gradlew check
- name: 🔨 Build artifacts
run: ./gradlew build publishToMavenLocal
- name: 📦 Upload artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: '**/build/libs/'
- name: 📝 Upload reports
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: reports
path: '**/build/reports/'
- name: 🗃 Upload Maven local
uses: actions/upload-artifact@v3
with:
name: maven
path: ~/.m2/repository/