diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6ed7f6d..06a04ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ # against bad commits. name: build -on: [pull_request, push] +on: [pull_request, push, workflow_dispatch] jobs: build: @@ -12,10 +12,10 @@ jobs: matrix: # Use these Java versions java: [ - 17, # Current Java LTS & minimum supported by Minecraft + 21, # Current Java LTS & minimum supported by Minecraft ] # and run on Linux - os: [ubuntu-20.04] + os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: - name: checkout repository diff --git a/gradle.properties b/gradle.properties index 1fd9417..46aaae2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,14 +3,13 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/develop - minecraft_version=1.20.4 - yarn_mappings=1.20.4+build.3 - loader_version=0.15.3 - + minecraft_version=1.21 + yarn_mappings=1.21+build.9 + loader_version=0.15.11 # Mod Properties mod_version = 1.0.1 maven_group = com.ishland.fabric archives_base_name = fix-keyboard-on-linux # Dependencies - fabric_version=0.55.1+1.19 + fabric_version=0.100.7+1.21 diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index a28d5e9..173ef24 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -32,6 +32,5 @@ "java": ">=17" }, "suggests": { - "another-mod": "*" } }