Project Restructure and Preliminary Minecraft 1.21 Support #136
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |