Bump to 2.2.1 #177
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
# 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 |