From 880a5ac7260fb5880cc8c3daac0f9d21f63dd433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pereda?= Date: Wed, 27 Nov 2024 11:23:23 +0100 Subject: [PATCH] Fix publish steps (#12) * Update build.yml * Update release.yml --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c016f836f..edcac69b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -119,7 +119,7 @@ jobs: ver=$(./gradlew properties -q | grep "version:" | awk '{print $2}') if [[ $ver == *"SNAPSHOT"* ]] then - ./gradlew publish -PgluonNexusDeployUsername=NEXUS_USERNAME -PgluonNexusDeployPassword=NEXUS_PASSWORD + ./gradlew publish -PgluonNexusDeployUsername=$NEXUS_USERNAME -PgluonNexusDeployPassword=$NEXUS_PASSWORD fi shell: bash env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1cd542f20..794edb699 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: ver=$(./gradlew properties -q | grep "version:" | awk '{print $2}') if [[ $ver != *"SNAPSHOT"* ]] then - ./gradlew publish -PgluonNexusDeployUsername=NEXUS_USERNAME -PgluonNexusDeployPassword=NEXUS_PASSWORD + ./gradlew publish -PgluonNexusDeployUsername=$NEXUS_USERNAME -PgluonNexusDeployPassword=$NEXUS_PASSWORD fi shell: bash env: