Skip to content

Commit

Permalink
fix a couple things
Browse files Browse the repository at this point in the history
move the workflow back to linux hopefully?
  • Loading branch information
rhysdh540 committed Mar 26, 2024
1 parent 43be4ec commit 37e9283
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [ workflow_dispatch, push, pull_request ]
jobs:
build:
if: "!contains(github.event.head_commit.message, '[skip]')"
runs-on: windows-latest
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4
Expand All @@ -21,15 +21,15 @@ jobs:
cache-read-only: false

- name: do the build
run: .\gradlew.bat assemble
run: ./gradlew assemble

- name: squishy
run: .\gradlew.bat squishJar
run: ./gradlew squishJar

- name: upload artifacts
uses: actions/upload-artifact@v4
with:
name: unlimited-artifacts
name: unlimited-artifacts-${{ github.run_id }}
path: |
build/libs/merged/*.jar
*/build/libs/*.jar
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ allprojects {
version = "modVersion"()
group = "maven_group"()

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
options.release = 17
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package dev.rdh.createunlimited.config;

import com.simibubi.create.foundation.config.ui.BaseConfigScreen;
import com.simibubi.create.foundation.config.ui.ConfigHelper.ConfigPath;
import com.simibubi.create.foundation.config.ui.SubMenuConfigScreen;

import dev.rdh.createunlimited.Util;

Expand All @@ -13,7 +11,6 @@

import net.minecraftforge.common.ForgeConfigSpec;
import net.minecraftforge.fml.config.ModConfig;
import net.minecraftforge.fml.config.ModConfig.Type;

import org.jetbrains.annotations.Nullable;

Expand All @@ -39,7 +36,7 @@ public static void onReload(ModConfig modConfig) {
server.onReload();
}

public static Screen createConfigScreen(Screen parent) {
public static BaseConfigScreen createConfigScreen(Screen parent) {
initBCS();
return new BaseConfigScreen(parent, CreateUnlimited.ID);
}
Expand All @@ -55,7 +52,7 @@ private static void initBCS() {
done = true;
}

public static Screen createConfigScreen(@Nullable Minecraft mc, Screen parent) {
public static BaseConfigScreen createConfigScreen(@Nullable Minecraft mc, Screen parent) {
return createConfigScreen(parent);
}
}
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ mcVer = 1.19.2
minimum_create_version = 0.5.1

# the actual stuff
mod_version = 0.5.2
mod_version = 0.6.1
maven_group = dev.rdh.createunlimited
archives_base_name = createunlimited

fabric = 0.15.3

# compiler go brrrrr
manifold_version = 2024.1.1
manifold_version = 2024.1.9
strip_lvts = true
mixin.debug = false

Expand Down

0 comments on commit 37e9283

Please sign in to comment.