From 5b4e008ccf2fb90fced013ad3548925c8d372eb6 Mon Sep 17 00:00:00 2001 From: isXander Date: Sun, 11 Dec 2022 19:46:40 +0000 Subject: fix release workflow --- .github/workflows/release-publish.yml | 2 +- build.gradle.kts | 2 +- 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 { -- cgit