Skip to content

Commit

Permalink
Applied suggestion
Browse files Browse the repository at this point in the history
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
  • Loading branch information
GumpacG committed Sep 6, 2024
1 parent 3252186 commit ec35824
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/java-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ jobs:
run: |
export ORG_GRADLE_PROJECT_centralManualTestingAuthHeaderName="Authorization"
export ORG_GRADLE_PROJECT_centralManualTestingAuthHeaderValue="Bearer $(echo "${{ secrets.CENTRAL_TOKEN_USERNAME }}:${{ secrets.CENTRAL_TOKEN_PASSWORD }}" | base64)"
export RUN_DEPLOYMENT_TEST=true
export GLIDE_RELEASE_VERSION=${{ env.RELEASE_VERSION }}
./gradlew run
Expand Down
2 changes: 1 addition & 1 deletion java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repositories {
subprojects {
repositories {
// Runs for GITHUB_ACTIONS for testing release Maven deployment.
if(System.getenv("RUN_DEPLOYMENT_TEST")) {
if(System.getenv("ORG_GRADLE_PROJECT_centralManualTestingAuthHeaderName")) {
maven {
name = "centralManualTesting"
url "https://central.sonatype.com/api/v1/publisher/deployments/download/"
Expand Down

0 comments on commit ec35824

Please sign in to comment.