File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 1
- // version: 1720106721
1
+ // version: 1720840170
2
2
/*
3
3
* DO NOT CHANGE THIS FILE!
4
4
* Also, you may replace this file at any time if there is an update available.
@@ -1237,6 +1237,30 @@ if (cfApiKey.isPresent() || deploymentDebug.toBoolean()) {
1237
1237
additionalFile. changelog = changelogRaw
1238
1238
}
1239
1239
}
1240
+ doLast {
1241
+ // No File IDs in Debug Mode
1242
+ if (! deploymentDebug. toBoolean()) {
1243
+ def list = []
1244
+ for (def artifact : tasks. curseforge. getUploadArtifacts()) {
1245
+ list. add(artifact)
1246
+ for (def additionalArtifact : artifact. getAdditionalArtifacts()) {
1247
+ list. add(additionalArtifact)
1248
+ }
1249
+ }
1250
+ def summary = " ## CurseForge Build Summary (Mod ${ modName} | Project ID ${ curseForgeProjectId} )"
1251
+ for (def artifact : list) {
1252
+ def fileId = artifact. getCurseFileId()
1253
+ def fileName = artifact. getArtifact(). getSingleFile(). name
1254
+ println (" Uploaded File ${ fileName} , With File ID: ${ fileId} " )
1255
+ summary = summary + " \n - File: ${ fileName} | File ID: ${ fileId} "
1256
+ }
1257
+ println (summary)
1258
+ def stepSummary = providers. environmentVariable(" GITHUB_STEP_SUMMARY" )
1259
+ if (stepSummary. isPresent()) {
1260
+ file(stepSummary. get()). write(summary)
1261
+ }
1262
+ }
1263
+ }
1240
1264
}
1241
1265
tasks. curseforge. dependsOn(build)
1242
1266
tasks. curseforge. dependsOn(' generateChangelog' )
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.8 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.5 -bin.zip
4
4
networkTimeout =10000
5
5
validateDistributionUrl =true
6
6
zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments