File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ jobs:
128128 - name : Publish package
129129 run : ./gradlew publishMavenPublicationToGitHubPackagesRepository -x test
130130 env :
131- CM_RELEASE : true
131+ CM_RELEASE : " true"
132132 GITHUB_ACTOR : ${{ secrets.GITHUB_ACTOR }}
133133 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
134134
Original file line number Diff line number Diff line change @@ -238,8 +238,8 @@ jobs:
238238 run : chmod +x gradlew
239239
240240 - name : Publish package
241- run : ./gradlew publish -x test
241+ run : ./gradlew publishMavenPublicationToGitHubPackagesRepository -x test
242242 env :
243- CM_RELEASE : true
243+ CM_RELEASE : " true"
244244 GITHUB_ACTOR : ${{ secrets.GITHUB_ACTOR }}
245245 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def gitCommitHash = 'git rev-parse --verify --short HEAD'.execute().text.trim()
2121def isRelease = (System . getenv(" CM_RELEASE" ) ?: " false" ). equalsIgnoreCase(" true" )
2222
2323version = isRelease ? mod_version : " ${ mod_version} +${ gitCommitHash} "
24- group = " dev.compactmods"
24+ group = isRelease ? " dev.compactmods" : " dev.compactmods.nightly "
2525archivesBaseName = mod_id
2626
2727println (" Mod ID: ${ mod_id} " );
@@ -304,7 +304,6 @@ publishing {
304304 publications {
305305 maven(MavenPublication ) {
306306 artifactId = mod_id
307- group = " dev.compactmods"
308307 artifacts {
309308 artifact jar
310309 artifact(apiJar) {
@@ -316,7 +315,6 @@ publishing {
316315
317316 nightlyMaven(MavenPublication ) {
318317 artifactId = mod_id
319- group = " dev.compactmods.nightly"
320318 artifacts {
321319 artifact(jar)
322320 artifact(apiJar) {
You can’t perform that action at this time.
0 commit comments