From 737c0bb70eadcf6baeb9a9837b4eedebef244012 Mon Sep 17 00:00:00 2001 From: SageSphinx63920 Date: Sun, 25 Aug 2024 23:21:54 +0200 Subject: [PATCH] Rename maven repo variables --- .github/workflows/api-publish.yml | 4 ++-- build.gradle.kts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/api-publish.yml b/.github/workflows/api-publish.yml index baa08a9..6e0223d 100644 --- a/.github/workflows/api-publish.yml +++ b/.github/workflows/api-publish.yml @@ -30,8 +30,8 @@ jobs: - name: Publish to GitHub Packages run: ./gradlew publishNewRelease env: - KEKLIST_USER: ${{ secrets.KEKLIST_USER }} - KEKLIST_PASSWORD: ${{ secrets.KEKLIST_PASSWORD }} + KEKLIST_REPO_USER: ${{ vars.KEKLIST_USER }} + KEKLIST_REPO_PASSWORD: ${{ secrets.KEKLIST_PASSWORD }} MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} HANGAR_API_TOKEN: ${{ secrets.HANGAR_API_TOKEN }} diff --git a/build.gradle.kts b/build.gradle.kts index f227393..8f8571b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -92,8 +92,8 @@ publishing { url = if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl credentials { - username = System.getenv("KEKLIST_USER") - password = System.getenv("KEKLIST_PASSWORD") + username = System.getenv("KEKLIST_REPO_USER") + password = System.getenv("KEKLIST_REPO_PASSWORD") } }