added some more checks #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master # Adjust the branch as necessary | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: List files in current directory | |
run: ls -R . | |
- name: Set up environment variables | |
run: | | |
echo "Setting up environment variables..." | |
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 | |
run: | | |
echo "NugetApiKey=${{ secrets.TRI_MONTHLY_TEMPO }}" | |