From 00b66be6ac755219ea6ed151baff88f1404fee97 Mon Sep 17 00:00:00 2001 From: solomiofactura Date: Thu, 26 Sep 2024 05:40:26 +0000 Subject: [PATCH] added some more tests --- .github/workflows/ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31f710f..91def33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,10 +22,14 @@ jobs: echo "NugetApiKey=${{ secrets.TRI_MONTHLY_TEMPO }}" >> $GITHUB_ENV echo "Current environment variables:" env | grep NugetApiKey || true + - name: Log secret length run: | - echo "Secret length: ${#secrets.TRI_MONTHLY_TEMPO}" # This will not print the actual secret - - name: Test secret output + echo "Secret length: ${#NugetApiKey}" # Now this will work since we've set it to an env variable + + - name: List environment variables + run: env + + - name: Test NugetApiKey run: | - echo "NugetApiKey=${{ secrets.TRI_MONTHLY_TEMPO }}" - \ No newline at end of file + echo "NugetApiKey is set to: $NugetApiKey" # Will print the value (or part of it) \ No newline at end of file