Update mod to Minecraft 1.21.3 #345
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
name: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/loom-cache | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
gradle- | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 21 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Run Data Generation | |
run: ./gradlew runDatagen | |
- name: Build with Gradle | |
run: ./gradlew build | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: artifacts | |
path: build/libs |