diff --git a/build.gradle b/build.gradle index fd79baae..340e2e07 100644 --- a/build.gradle +++ b/build.gradle @@ -210,9 +210,11 @@ remapJar { delete fileTree(getDestinationDirectory().get()) } - def hash = gitCommitHash(); - if (!hash.equals("")) { - archiveClassifier.set(hash); + if (!isInGHA) { + def hash = gitCommitHash(); + if (!hash.equals("")) { + archiveClassifier.set(hash); + } } }