Skip to content

Commit 5b4e008

Browse files
committed
fix release workflow
1 parent 4956556 commit 5b4e008

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
XANDER_MAVEN_PASS: ${{ secrets.REPO_PASSWORD }}
3535
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
3636
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
37-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ if (modrinthId.isNotEmpty()) {
137137
}
138138

139139
val curseforgeId: String by project
140-
if (hasProperty("curseforge.token") && curseforgeId.isNotEmpty()) {
140+
if (hasProperty("CURSEFORGE_TOKEN") && curseforgeId.isNotEmpty()) {
141141
curseforge {
142142
apiKey = findProperty("CURSEFORGE_TOKEN")
143143
project(closureOf<me.hypherionmc.cursegradle.CurseProject> {

0 commit comments

Comments
 (0)