Skip to content

Project Restructure and Preliminary Minecraft 1.21 Support #136

Project Restructure and Preliminary Minecraft 1.21 Support

Project Restructure and Preliminary Minecraft 1.21 Support #136

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
java: [ 21, ]
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: Setup jdk ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: AllStackable_Java${{ matrix.java }}
path: build/libs/AllStackable-*.*-*.*[^sourcedv].jar