aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2022-12-11 19:46:40 +0000
committerisXander <xandersmith2008@gmail.com>2022-12-11 19:46:40 +0000
commit5b4e008ccf2fb90fced013ad3548925c8d372eb6 (patch)
tree1394d7f8603ccb718b995d2eb79ebd40ac3959ac
parent495655630841c281d6f3e93aeb04ec3c8cb15b65 (diff)
downloadYetAnotherConfigLib-5b4e008ccf2fb90fced013ad3548925c8d372eb6.tar.gz
YetAnotherConfigLib-5b4e008ccf2fb90fced013ad3548925c8d372eb6.tar.bz2
YetAnotherConfigLib-5b4e008ccf2fb90fced013ad3548925c8d372eb6.zip
fix release workflow
-rw-r--r--.github/workflows/release-publish.yml2
-rw-r--r--build.gradle.kts2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml
index 96a8660..0f9d12e 100644
--- a/.github/workflows/release-publish.yml
+++ b/.github/workflows/release-publish.yml
@@ -34,4 +34,4 @@ jobs:
XANDER_MAVEN_PASS: ${{ secrets.REPO_PASSWORD }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
diff --git a/build.gradle.kts b/build.gradle.kts
index bfab221..e0a7f3f 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -137,7 +137,7 @@ if (modrinthId.isNotEmpty()) {
}
val curseforgeId: String by project
-if (hasProperty("curseforge.token") && curseforgeId.isNotEmpty()) {
+if (hasProperty("CURSEFORGE_TOKEN") && curseforgeId.isNotEmpty()) {
curseforge {
apiKey = findProperty("CURSEFORGE_TOKEN")
project(closureOf<me.hypherionmc.cursegradle.CurseProject> {