From b69a76a27015219fe38e48a4fef34a4c8a5dcd31 Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com> Date: Fri, 17 Mar 2023 13:20:43 -0700 Subject: [PATCH] Mask env values for snapshots (#411) Signed-off-by: Sayali Gaikawad --- .github/workflows/publish-snapshots.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish-snapshots.yml b/.github/workflows/publish-snapshots.yml index e90f6aaf2d..bead3bc05f 100644 --- a/.github/workflows/publish-snapshots.yml +++ b/.github/workflows/publish-snapshots.yml @@ -27,4 +27,6 @@ jobs: run: | export SONATYPE_USERNAME=$(aws secretsmanager get-secret-value --secret-id maven-snapshots-username --query SecretString --output text) export SONATYPE_PASSWORD=$(aws secretsmanager get-secret-value --secret-id maven-snapshots-password --query SecretString --output text) + echo "::add-mask::$SONATYPE_USERNAME" + echo "::add-mask::$SONATYPE_PASSWORD" ./gradlew --no-daemon publishPublishMavenPublicationToSnapshotsRepository \ No newline at end of file