Skip to content

Commit

Permalink
Fix recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenny-Hui committed Jun 15, 2024
1 parent 8bb96ed commit 2cd1498
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,23 @@ on: [pull_request, push]

jobs:
build:
strategy:
matrix:
# Use these Java versions
java: [
21 # Current Java LTS & minimum supported by Minecraft
]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Validate gradle wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Setup JDK ${{ matrix.java }}
- name: Setup JDK 21
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
java-version: 21
distribution: 'temurin'
- name: Make gradle wrapper executable
run: chmod +x ./gradlew
- name: Build
run: ./gradlew build
- name: Capture build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Artifacts
path: build/libs/
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ org.gradle.parallel=true

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.21-pre2
yarn_mappings=1.21-pre2+build.2
minecraft_version=1.21
yarn_mappings=1.21+build.2
loader_version=0.15.11

# Dependencies
fabric_version=0.99.4+1.21
fabric_version=0.100.1+1.21

# Mod Properties
mod_version = 1.0.2
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"depends": {
"fabricloader": "*",
"fabric-api": "*",
"minecraft": ">1.20.6"
"minecraft": ">=1.21"
}
}

0 comments on commit 2cd1498

Please sign in to comment.