diff options
-rw-r--r-- | .github/workflows/generate-constants.yaml | 1 | ||||
-rw-r--r-- | build.gradle.kts | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/generate-constants.yaml b/.github/workflows/generate-constants.yaml index fccadc7fb..505a035b2 100644 --- a/.github/workflows/generate-constants.yaml +++ b/.github/workflows/generate-constants.yaml @@ -4,6 +4,7 @@ name: RepoPattern env: data_repo: hannibal002/SkyHanni-REPO + repo_action: true on: push: diff --git a/build.gradle.kts b/build.gradle.kts index c5d2cae2d..f02b069f6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -146,7 +146,9 @@ loom { launchConfigs { "client" { property("mixin.debug", "true") - property("devauth.configDir", rootProject.file(".devauth").absolutePath) + if (System.getenv("repo_action") != "true") { + property("devauth.configDir", rootProject.file(".devauth").absolutePath) + } arg("--tweakClass", "org.spongepowered.asm.launch.MixinTweaker") arg("--tweakClass", "io.github.moulberry.moulconfig.tweaker.DevelopmentResourceTweaker") arg("--mods", devenvMod.resolve().joinToString(",") { it.relativeTo(file("run")).path }) |