Skip to content

Update dependencies #182

Update dependencies

Update dependencies #182

Workflow file for this run

# Automatically build the project and run any configured tests for every push
# and submitted pull request. This can help catch issues that only occur on
# certain platforms or Java versions, and provides a first line of defence
# against bad commits.
name: build
on: [ pull_request, push ]
jobs:
build:
name: Build on Java ${{ matrix.java }}
strategy:
matrix:
# Use these Java versions
java: [
21 # Minimum supported by Minecraft
]
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Make gradle wrapper executable
run: chmod +x gradlew
- name: Build
run: ./gradlew build
- name: Upload Artifacts
uses: actions/upload-artifact@v2
if: success()
with:
name: Built mod on JDK ${{ matrix.java }}
path: build/libs/*.jar