From 4ebde93426d6e9d65026bbc65bdc97a9a7af307b Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Fri, 1 Mar 2024 11:28:26 +1100 Subject: stop devauth in repo github action (#1080) --- .github/workflows/generate-constants.yaml | 1 + build.gradle.kts | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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 }) -- cgit