From 0ff01a63a4a0c36ff46a42d509fde258c81bf260 Mon Sep 17 00:00:00 2001 From: solomiofactura Date: Thu, 26 Sep 2024 05:23:10 +0000 Subject: [PATCH] added some checks to make sure the NugetApiKey env var is properly set. --- .github/workflows/ci.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e4f411..d57f3e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI on: push: branches: - - master # Adjust the branch as necessary + - master # Adjust according to your needs jobs: build: @@ -13,11 +13,12 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: List files in current directory - run: ls -R . - - - name: Set up environment + - name: Set up environment variables run: | echo "Setting up environment variables..." echo "NugetApiKey=${{ secrets.TRI_MONTHLY_TEMPO }}" >> $GITHUB_ENV - bash .devcontainer/load-env.sh + echo "Current environment variables:" + env | grep NugetApiKey + + - name: Run load-env.sh + run: bash .devcontainer/load-env.sh