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: