Skip to content

Commit

Permalink
added some checks to make sure the NugetApiKey env var is properly set.
Browse files Browse the repository at this point in the history
  • Loading branch information
solomiofactura committed Sep 26, 2024
1 parent a35c728 commit 0ff01a6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- master # Adjust the branch as necessary
- master # Adjust according to your needs

jobs:
build:
Expand All @@ -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

0 comments on commit 0ff01a6

Please sign in to comment.