aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2024-03-01 11:28:26 +1100
committerGitHub <noreply@github.com>2024-03-01 11:28:26 +1100
commit4ebde93426d6e9d65026bbc65bdc97a9a7af307b (patch)
tree5be5dc6d240a3f6e983af2bb9d7164415642c742
parent2d7f707c2c7ee59ef76f39171f91d7872e83f028 (diff)
downloadskyhanni-4ebde93426d6e9d65026bbc65bdc97a9a7af307b.tar.gz
skyhanni-4ebde93426d6e9d65026bbc65bdc97a9a7af307b.tar.bz2
skyhanni-4ebde93426d6e9d65026bbc65bdc97a9a7af307b.zip
stop devauth in repo github action (#1080)
-rw-r--r--.github/workflows/generate-constants.yaml1
-rw-r--r--build.gradle.kts4
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 })