File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,11 @@ pipeline {
4949 when {
5050 expression { return params. PUBLISH_GITHUB }
5151 }
52+ environment {
53+ GITHUB_TOKEN = credentials(" github-release-pat" )
54+ GITHUB_REPOSITORY = " object-Object/HexDebug"
55+ GITHUB_SHA = " ${ env.GIT_COMMIT} "
56+ }
5257 steps {
5358 sh " ./gradlew publishGithub"
5459 }
@@ -57,6 +62,9 @@ pipeline {
5762 when {
5863 expression { return params. PUBLISH_CURSEFORGE }
5964 }
65+ environment {
66+ CURSEFORGE_TOKEN = credentials(" curseforge-token" )
67+ }
6068 steps {
6169 sh " ./gradlew publishCurseforge"
6270 }
@@ -65,6 +73,9 @@ pipeline {
6573 when {
6674 expression { return params. PUBLISH_MODRINTH }
6775 }
76+ environment {
77+ MODRINTH_TOKEN = credentials(" modrinth-pat" )
78+ }
6879 steps {
6980 sh " ./gradlew publishModrinth"
7081 }
You can’t perform that action at this time.
0 commit comments