From acea40841ec696d48f95f6fcf9d3b19e02df350b Mon Sep 17 00:00:00 2001 From: Max Lambrecht Date: Sat, 17 Feb 2024 13:21:18 -0600 Subject: [PATCH] Fix publishing Signed-off-by: Max Lambrecht --- .github/workflows/release_build.yml | 4 ++-- build.gradle | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index c2a45b57..7ac59a04 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -11,8 +11,8 @@ jobs: runs-on: ubuntu-latest env: - MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} + NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} + NEXUS_TOKEN: ${{ secrets.NEXUS_TOKEN }} PGP_PRIVATE_KEY: ${{ secrets.PGP_PRIVATE_KEY }} PGP_KEY_PASSPHRASE: ${{ secrets.PGP_KEY_PASSPHRASE}} diff --git a/build.gradle b/build.gradle index c02169bc..0d10271b 100644 --- a/build.gradle +++ b/build.gradle @@ -48,8 +48,8 @@ subprojects { repositories { maven { credentials { - username = project.properties["mavenDeployUser"] ?: System.getenv("MAVEN_USERNAME") - password = project.properties["mavenDeployPassword"] ?: System.getenv("MAVEN_PASSWORD") + username = project.properties["mavenDeployUser"] ?: System.getenv("NEXUS_USERNAME") + password = project.properties["mavenDeployPassword"] ?: System.getenv("NEXUS_TOKEN") } url = project.properties["mavenDeployUrl"] }