-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (27 loc) · 902 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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: ${#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 is set to: $NugetApiKey" # Will print the value (or part of it)