Skip to content

Commit

Permalink
added some more checks
Browse files Browse the repository at this point in the history
  • Loading branch information
solomiofactura committed Sep 26, 2024
1 parent bd91af3 commit 209cb36
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,11 @@ jobs:
echo "Setting up environment variables..."
echo "NugetApiKey=${{ secrets.TRI_MONTHLY_TEMPO }}" >> $GITHUB_ENV
echo "Current environment variables:"
env | grep NugetApiKey || true # Use || true to prevent failure if the variable is not set Use the || true Command: The line env | grep NugetApiKey || true allows the script to continue even if the grep command fails (if NugetApiKey is not set). This can help you see
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
run: |
echo "NugetApiKey=${{ secrets.TRI_MONTHLY_TEMPO }}"

0 comments on commit 209cb36

Please sign in to comment.