Skip to content

Commit

Permalink
added some more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
solomiofactura committed Sep 26, 2024
1 parent 209cb36 commit 00b66be
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
echo "NugetApiKey is set to: $NugetApiKey" # Will print the value (or part of it)

0 comments on commit 00b66be

Please sign in to comment.